Skip to main content

ResQ.Simulation.ScenarioRunner

ScenarioRunner.ValidateDroneCount(int, string) Method

Validates drone count parameter is within safe bounds.
private static void ValidateDroneCount(int droneCount, string paramName);

Parameters

droneCount System.Int32 The number of drones to validate. paramName System.String Name of the parameter for error messages.

Exceptions

System.ArgumentOutOfRangeException
Thrown when drone count is outside valid range.