Skip to main content

ResQ.Simulation.ScenarioRunner

ScenarioRunner.ValidateLocation(Location, string) Method

Validates location coordinates are within valid GPS bounds.
private static void ValidateLocation(ResQ.Core.Location location, string paramName);

Parameters

location ResQ.Core.Location The location to validate. paramName System.String Name of the parameter for error messages.

Exceptions

System.ArgumentNullException
Thrown when location is null.
System.ArgumentOutOfRangeException
Thrown when coordinates are outside valid ranges.