Validators¶
Namespace: ThinkGeo.Core
public static class Validators
Inheritance Object → Validators
Methods¶
CheckPanDirectionIsValid(PanDirection)¶
public static void CheckPanDirectionIsValid(PanDirection panDirection)
Parameters¶
panDirection
PanDirection
CheckMapUnitIsValid(GeographyUnit)¶
public static void CheckMapUnitIsValid(GeographyUnit mapUnit)
Parameters¶
mapUnit
GeographyUnit
CheckIfInputValueIsInRange(Double, String, Double, RangeCheckingInclusion, Double, RangeCheckingInclusion)¶
internal static void CheckIfInputValueIsInRange(double inputValue, string parameterName, double minValue, RangeCheckingInclusion includeMinValue, double maxValue, RangeCheckingInclusion includeMaxValue)
Parameters¶
inputValue
Double
parameterName
String
minValue
Double
includeMinValue
RangeCheckingInclusion
maxValue
Double
includeMaxValue
RangeCheckingInclusion
CheckOverlayRefreshTypeIsValid(OverlayRefreshType, String)¶
public static void CheckOverlayRefreshTypeIsValid(OverlayRefreshType refreshType, string parameterName)
Parameters¶
refreshType
OverlayRefreshType
parameterName
String
CheckGoogleMapsTypeIsValid(GoogleMapsMapType, String)¶
public static void CheckGoogleMapsTypeIsValid(GoogleMapsMapType mapType, string parameterName)
Parameters¶
mapType
GoogleMapsMapType
parameterName
String
CheckTileSizeIsValid(Int32, String)¶
public static void CheckTileSizeIsValid(int tileSize, string parameterName)
Parameters¶
tileSize
Int32
parameterName
String
CheckCanRefreshRegion(Boolean)¶
public static void CheckCanRefreshRegion(bool canRefreshRegion)
Parameters¶
canRefreshRegion
Boolean