Skip to content

ValidatorHelper

Namespace: ThinkGeo.Core

Represents the ValidatorHelper class.

public static class ValidatorHelper

Inheritance object → ValidatorHelper

Methods

CheckImageIsNotNullInPointStyle(GeoImage)

Performs check image is not null in point style.

public static void CheckImageIsNotNullInPointStyle(GeoImage image)

Parameters

image GeoImage
The image instance to operate on.

Returns

void

CheckDrawingLineCapIsValid(DrawingLineCap, string)

Performs check drawing line cap is valid.

public static void CheckDrawingLineCapIsValid(DrawingLineCap drawingLineCap, string parameterName)

Parameters

drawingLineCap DrawingLineCap
The drawing line cap.

parameterName string
The parameter name.

Returns

void

CheckGeoDashCapIsValid(GeoDashCap, string)

Performs check geo dash cap is valid.

public static void CheckGeoDashCapIsValid(GeoDashCap geoDashCap, string parameterName)

Parameters

geoDashCap GeoDashCap
The geo dash cap.

parameterName string
The parameter name.

Returns

void

CheckDrawingLineJoinIsValid(DrawingLineJoin, string)

Performs check drawing line join is valid.

public static void CheckDrawingLineJoinIsValid(DrawingLineJoin drawingLineJoin, string parameterName)

Parameters

drawingLineJoin DrawingLineJoin
The drawing line join.

parameterName string
The parameter name.

Returns

void

CheckLineDashStyleIsValid(LineDashStyle, string)

Performs check line dash style is valid.

public static void CheckLineDashStyleIsValid(LineDashStyle lineDashStyle, string parameterName)

Parameters

lineDashStyle LineDashStyle
The line dash style.

parameterName string
The parameter name.

Returns

void

CheckDrawingLevelIsValid(DrawingLevel, string)

Performs check drawing level is valid.

public static void CheckDrawingLevelIsValid(DrawingLevel drawingLevel, string parameterName)

Parameters

drawingLevel DrawingLevel
The drawing level used for compositing and buffering.

parameterName string
The parameter name.

Returns

void

CheckRasterResamplingModeIsValid(RasterResamplingMode, string)

Performs check raster resampling mode is valid.

public static void CheckRasterResamplingModeIsValid(RasterResamplingMode resamplingMode, string parameterName)

Parameters

resamplingMode RasterResamplingMode
The raster resampling mode.

parameterName string
The parameter name.

Returns

void

CheckGeoImageIsValid(GeoImage, string, GeoCanvas)

Performs check geo image is valid.

public static void CheckGeoImageIsValid(GeoImage image, string parameterName, GeoCanvas canvas)

Parameters

image GeoImage
The image instance to operate on.

parameterName string
The parameter name.

canvas GeoCanvas
The to draw to.

Returns

void

CheckIconImageAndIconFilePathAreInvalid(string, GeoImage)

Performs check icon image and icon file path are invalid.

public static void CheckIconImageAndIconFilePathAreInvalid(string iconFilePath, GeoImage iconImage)

Parameters

iconFilePath string
The icon file path.

iconImage GeoImage
The icon image.

Returns

void

CheckRandomColorTypeIsValid(RandomColorType, string)

Performs check random color type is valid.

public static void CheckRandomColorTypeIsValid(RandomColorType colorType, string parameterName)

Parameters

colorType RandomColorType
The color type.

parameterName string
The parameter name.

Returns

void

CheckGroupLayerIsNotEmpty(GeoCollection<LayerBase>)

Performs check group layer is not empty.

public static void CheckGroupLayerIsNotEmpty(GeoCollection<LayerBase> layers)

Parameters

layers GeoCollection<LayerBase>
The layers.

Returns

void

CheckGroupLayerIsNotEmpty(GeoCollection<Layer>)

Performs check group layer is not empty.

public static void CheckGroupLayerIsNotEmpty(GeoCollection<Layer> layers)

Parameters

layers GeoCollection<Layer>
The layers.

Returns

void

CheckQueryTypeIsValid(QueryType, string)

Performs check query type is valid.

public static void CheckQueryTypeIsValid(QueryType queryType, string parameterName)

Parameters

queryType QueryType
The query type.

parameterName string
The parameter name.

Returns

void

CheckFeatureSourceCollectionIsNotEmpty(Collection<FeatureSource>)

Performs check feature source collection is not empty.

public static void CheckFeatureSourceCollectionIsNotEmpty(Collection<FeatureSource> featureSources)

Parameters

featureSources Collection<FeatureSource>
The feature sources.

Returns

void

CheckBuildIndexModeIsValid(BuildIndexMode, string)

Performs check build index mode is valid.

public static void CheckBuildIndexModeIsValid(BuildIndexMode buildIndexMode, string parameterName)

Parameters

buildIndexMode BuildIndexMode
The build index mode.

parameterName string
The parameter name.

Returns

void

CheckOverwriteModeIsValid(OverwriteMode, string)

Performs check overwrite mode is valid.

public static void CheckOverwriteModeIsValid(OverwriteMode overwriteMode, string parameterName)

Parameters

overwriteMode OverwriteMode
The overwrite mode.

parameterName string
The parameter name.

Returns

void

CheckRebuildRecordIdModeIsValid(BuildRecordIdMode, string)

Performs check rebuild record ID mode is valid.

public static void CheckRebuildRecordIdModeIsValid(BuildRecordIdMode rebuildRecordIdMode, string parameterName)

Parameters

rebuildRecordIdMode BuildRecordIdMode
The rebuild record ID mode.

parameterName string
The parameter name.

Returns

void

CheckDbfColumnDecimalLengthIsValid(DbfColumnType, int)

Performs check dbf column decimal length is valid.

public static void CheckDbfColumnDecimalLengthIsValid(DbfColumnType columnType, int decimalLength)

Parameters

columnType DbfColumnType
The column type.

decimalLength int
The decimal length.

Returns

void

CheckPanDirectionIsValid(PanDirection, string)

Performs check pan direction is valid.

public static void CheckPanDirectionIsValid(PanDirection panDirection, string parameterName)

Parameters

panDirection PanDirection
The rectangle that defines the area of interest.

parameterName string
The parameter name.

Returns

void

CheckColumnNameIsInFeature(string, IEnumerable<Feature>)

Performs check column name is in feature.

public static void CheckColumnNameIsInFeature(string columnName, IEnumerable<Feature> features)

Parameters

columnName string
The column name.

features IEnumerable<Feature>
The features.

Returns

void

CheckShapeIsValidForOperation(BaseShape)

Performs check shape is valid for operation.

public static void CheckShapeIsValidForOperation(BaseShape shape)

Parameters

shape BaseShape
The shape.

Returns

void

CheckShapeIsValid(BaseShape, string)

Performs check shape is valid.

public static void CheckShapeIsValid(BaseShape shape, string parameterName)

Parameters

shape BaseShape
The shape.

parameterName string
The parameter name.

Returns

void

CheckFeatureIsValid(Feature, string)

Performs check feature is valid.

public static void CheckFeatureIsValid(Feature feature, string parameterName)

Parameters

feature Feature
The feature.

parameterName string
The parameter name.

Returns

void

CheckShapeValidationModeIsValid(ShapeValidationMode, string)

Performs check shape validation mode is valid.

public static void CheckShapeValidationModeIsValid(ShapeValidationMode shapeValidationMode, string parameterName)

Parameters

shapeValidationMode ShapeValidationMode
The shape validation mode.

parameterName string
The parameter name.

Returns

void

CheckExtentIsValid(RectangleShape, string)

Performs check extent is valid.

public static void CheckExtentIsValid(RectangleShape extent, string parameterName)

Parameters

extent RectangleShape
The world extent represented by the canvas during the drawing session.

parameterName string
The parameter name.

Returns

void

CheckStartingPointIsValid(StartingPoint, string)

Performs check starting point is valid.

public static void CheckStartingPointIsValid(StartingPoint startingPoint, string parameterName)

Parameters

startingPoint StartingPoint
The starting point.

parameterName string
The parameter name.

Returns

void

CheckWkbByteOrderIsValid(WkbByteOrder, string)

Performs check wkb byte order is valid.

public static void CheckWkbByteOrderIsValid(WkbByteOrder wkbByteOrder, string parameterName)

Parameters

wkbByteOrder WkbByteOrder
The wkb byte order.

parameterName string
The parameter name.

Returns

void

CheckRingOrderIsValid(RingOrder, string)

Performs check ring order is valid.

public static void CheckRingOrderIsValid(RingOrder ringOrder, string parameterName)

Parameters

ringOrder RingOrder
The ring order.

parameterName string
The parameter name.

Returns

void

CheckFeatureIsValid(Feature)

Performs check feature is valid.

public static void CheckFeatureIsValid(Feature feature)

Parameters

feature Feature
The feature.

Returns

void

CheckShapeIsAreaBaseShape(BaseShape)

Performs check shape is area base shape.

public static void CheckShapeIsAreaBaseShape(BaseShape shape)

Parameters

shape BaseShape
The shape.

Returns

void

CheckShapeIsPointShape(BaseShape)

Performs check shape is point shape.

public static void CheckShapeIsPointShape(BaseShape shape)

Parameters

shape BaseShape
The shape.

Returns

void

CheckShapeIsMultipointShape(BaseShape)

Performs check shape is multipoint shape.

public static void CheckShapeIsMultipointShape(BaseShape shape)

Parameters

shape BaseShape
The shape.

Returns

void

CheckShapeIsLineBaseShape(BaseShape)

Performs check shape is line base shape.

public static void CheckShapeIsLineBaseShape(BaseShape shape)

Parameters

shape BaseShape
The shape.

Returns

void

CheckSimplificationTypeIsValid(SimplificationType, string)

Performs check simplification type is valid.

public static void CheckSimplificationTypeIsValid(SimplificationType simplificationType, string parameterName)

Parameters

simplificationType SimplificationType
The simplification type.

parameterName string
The parameter name.

Returns

void

CheckReturningColumnsTypeIsValid(ReturningColumnsType, string)

Performs check returning columns type is valid.

public static void CheckReturningColumnsTypeIsValid(ReturningColumnsType returningColumnsType, string parameterName)

Parameters

returningColumnsType ReturningColumnsType
The returning columns type.

parameterName string
The parameter name.

Returns

void

CheckAreaUnitIsValid(AreaUnit, string)

Performs check area unit is valid.

public static void CheckAreaUnitIsValid(AreaUnit areaUnit, string parameterName)

Parameters

areaUnit AreaUnit
The area unit.

parameterName string
The parameter name.

Returns

void

CheckWktIsValid(string, string)

Performs check WKT is valid.

public static void CheckWktIsValid(string wkt, string parameterName)

Parameters

wkt string
The WKT.

parameterName string
The parameter name.

Returns

void

CheckBufferCapTypeIsValid(BufferCapType, string)

Performs check buffer cap type is valid.

public static void CheckBufferCapTypeIsValid(BufferCapType bufferCapType, string parameterName)

Parameters

bufferCapType BufferCapType
The buffer cap type.

parameterName string
The parameter name.

Returns

void

CheckDistanceUnitIsValid(DistanceUnit, string)

Performs check distance unit is valid.

public static void CheckDistanceUnitIsValid(DistanceUnit distanceUnit, string parameterName)

Parameters

distanceUnit DistanceUnit
The distance unit.

parameterName string
The parameter name.

Returns

void

CheckPointLineIsIntersected(PointShape, string, LineShape, string, double)

Performs check point line is intersected.

public static void CheckPointLineIsIntersected(PointShape pointShape, string pointShapeName, LineShape lineShape, string lineShapeName, double tolerance)

Parameters

pointShape PointShape
The point shape.

pointShapeName string
The point shape name.

lineShape LineShape
The line shape.

lineShapeName string
The line shape name.

tolerance double
The tolerance.

Returns

void

CheckPointSymbolTypeIsValid(PointSymbolType, string)

Performs check point symbol type is valid.

public static void CheckPointSymbolTypeIsValid(PointSymbolType symbolType, string parameterName)

Parameters

symbolType PointSymbolType
The symbol type.

parameterName string
The parameter name.

Returns

void

CheckPointTypeIsValid(PointType, string)

Performs check point type is valid.

public static void CheckPointTypeIsValid(PointType pointType, string parameterName)

Parameters

pointType PointType
The point type.

parameterName string
The parameter name.

Returns

void

CheckCanParseStringToDouble(string, string)

Performs check can parse string to double.

public static void CheckCanParseStringToDouble(string value, string parameterName)

Parameters

value string
The value to serialize or write.

parameterName string
The parameter name.

Returns

void

CheckStringIsNotNullNorWhiteSpace(string, string)

Performs check string is not null nor white space.

public static void CheckStringIsNotNullNorWhiteSpace(string value, string parameterName)

Parameters

value string
The value to serialize or write.

parameterName string
The parameter name.

Returns

void

CheckStringIsValidDecimalDegree(string, string)

Performs check string is valid decimal degree.

public static void CheckStringIsValidDecimalDegree(string value, string parameterName)

Parameters

value string
The value to serialize or write.

parameterName string
The parameter name.

Returns

void

CheckObjectsAreNotAllNull(object, object, string, string)

Performs check objects are not all null.

public static void CheckObjectsAreNotAllNull(object firstObject, object secondObject, string firstParameterName, string secondParameterName)

Parameters

firstObject object
The first object.

secondObject object
The second object.

firstParameterName string
The first parameter name.

secondParameterName string
The second parameter name.

Returns

void

CheckTypeIsSupport(object, string)

Performs check type is support.

public static void CheckTypeIsSupport(object instance, string typeName)

Parameters

instance object
The instance.

typeName string
The type name.

Returns

void

CheckCanvasWidthIsLargerThanZero(double, string)

Performs check canvas width is larger than zero.

public static void CheckCanvasWidthIsLargerThanZero(double canvasWidth, string parameterName)

Parameters

canvasWidth double
The canvas width.

parameterName string
The parameter name.

Returns

void

CheckCanvasHeightIsLargerThanZero(double, string)

Performs check canvas height is larger than zero.

public static void CheckCanvasHeightIsLargerThanZero(double canvasHeight, string parameterName)

Parameters

canvasHeight double
The canvas height.

parameterName string
The parameter name.

Returns

void

CheckGeographyUnitIsMeter(GeographyUnit, string)

Performs check geography unit is meter.

public static void CheckGeographyUnitIsMeter(GeographyUnit geographyUnit, string parameterName)

Parameters

geographyUnit GeographyUnit
The geography unit.

parameterName string
The parameter name.

Returns

void

CheckObjectIsNotNull(object, string)

Performs check object is not null.

public static void CheckObjectIsNotNull(object parameterObject, string parameterName)

Parameters

parameterObject object
The parameter object.

parameterName string
The parameter name.

Returns

void

CheckObjectIsNotNull(object, string, string)

Performs check object is not null.

public static void CheckObjectIsNotNull(object parameterObject, string parameterName, string exceptionMessage)

Parameters

parameterObject object
The parameter object.

parameterName string
The parameter name.

exceptionMessage string
The exception message.

Returns

void

CheckInputValueIsLargerThan(double, string, double, RangeCheckingInclusion)

Performs check input value is larger than.

public static void CheckInputValueIsLargerThan(double inputValue, string parameterName, double minValue, RangeCheckingInclusion includeMinValue)

Parameters

inputValue double
The input value.

parameterName string
The parameter name.

minValue double
The min value.

includeMinValue RangeCheckingInclusion
The include min value.

Returns

void

CheckDateTimeIsInRange(DateTime, string, DateTime, RangeCheckingInclusion, DateTime, RangeCheckingInclusion)

Performs check date time is in range.

public static void CheckDateTimeIsInRange(DateTime inputDate, string parameterName, DateTime minDate, RangeCheckingInclusion includeMinValue, DateTime maxDate, RangeCheckingInclusion includeMaxValue)

Parameters

inputDate DateTime
The input date.

parameterName string
The parameter name.

minDate DateTime
The min date.

includeMinValue RangeCheckingInclusion
The include min value.

maxDate DateTime
The max date.

includeMaxValue RangeCheckingInclusion
The include max value.

Returns

void

CheckAreIntegerStrings(IEnumerable<string>, string)

Performs check are integer strings.

public static void CheckAreIntegerStrings(IEnumerable<string> ids, string parameterName)

Parameters

ids IEnumerable<string>
The ids.

parameterName string
The parameter name.

Returns

void

CheckGeoCanvasIsInDrawing(bool)

Performs check geo canvas is in drawing.

public static void CheckGeoCanvasIsInDrawing(bool isDrawing)

Parameters

isDrawing bool
The is drawing.

Returns

void

CheckScaleIsLargerThanZero(double, string)

Performs check scale is larger than zero.

public static void CheckScaleIsLargerThanZero(double imageScale, string parameterName)

Parameters

imageScale double
The scale factor to apply.

parameterName string
The parameter name.

Returns

void

CheckInputValueIsLargerThanZero(double, string)

Performs check input value is larger than zero.

public static void CheckInputValueIsLargerThanZero(double value, string parameterName)

Parameters

value double
The value to serialize or write.

parameterName string
The parameter name.

Returns

void

CheckObjectIsTargetType(object, Type, string)

Performs check object is target type.

public static void CheckObjectIsTargetType(object objectToTest, Type targetType, string operationName)

Parameters

objectToTest object
The object to test.

targetType Type
The target type.

operationName string
The operation name.

Returns

void

CheckLatitudeIsInRange(double, string)

Performs check latitude is in range.

public static void CheckLatitudeIsInRange(double latitude, string parameterName)

Parameters

latitude double
The latitude.

parameterName string
The parameter name.

Returns

void

CheckLongitudeIsInRange(double, string)

Performs check longitude is in range.

public static void CheckLongitudeIsInRange(double longitude, string parameterName)

Parameters

longitude double
The longitude.

parameterName string
The parameter name.

Returns

void

CheckInputValueIsInRange(double, string, double, RangeCheckingInclusion, double, RangeCheckingInclusion)

Performs check input value is in range.

public static void CheckInputValueIsInRange(double inputValue, string parameterName, double minValue, RangeCheckingInclusion includeMinValue, double maxValue, RangeCheckingInclusion includeMaxValue)

Parameters

inputValue double
The input value.

parameterName string
The parameter name.

minValue double
The min value.

includeMinValue RangeCheckingInclusion
The include min value.

maxValue double
The max value.

includeMaxValue RangeCheckingInclusion
The include max value.

Returns

void

CheckInputValueIsInRange(double, string, double, RangeCheckingInclusion, double, RangeCheckingInclusion, string)

Performs check input value is in range.

public static void CheckInputValueIsInRange(double inputValue, string parameterName, double minValue, RangeCheckingInclusion includeMinValue, double maxValue, RangeCheckingInclusion includeMaxValue, string exceptionMessage)

Parameters

inputValue double
The input value.

parameterName string
The parameter name.

minValue double
The min value.

includeMinValue RangeCheckingInclusion
The include min value.

maxValue double
The max value.

includeMaxValue RangeCheckingInclusion
The include max value.

exceptionMessage string
The exception message.

Returns

void

CheckInputValueIsInRange(double, string, double, double)

Performs check input value is in range.

public static void CheckInputValueIsInRange(double inputValue, string parameterName, double minValue, double maxValue)

Parameters

inputValue double
The input value.

parameterName string
The parameter name.

minValue double
The min value.

maxValue double
The max value.

Returns

void

CheckInputValueIsLessThan(double, string, double, RangeCheckingInclusion)

Performs check input value is less than.

public static void CheckInputValueIsLessThan(double inputValue, string parameterName, double maxValue, RangeCheckingInclusion includeMaxValue)

Parameters

inputValue double
The input value.

parameterName string
The parameter name.

maxValue double
The max value.

includeMaxValue RangeCheckingInclusion
The include max value.

Returns

void

CheckInputValueIsValidDecimalDegree(double, string)

Performs check input value is valid decimal degree.

public static void CheckInputValueIsValidDecimalDegree(double value, string parameterName)

Parameters

value double
The value to serialize or write.

parameterName string
The parameter name.

Returns

void

CheckInputValueIsNotNaNNorInfinity(double, string)

Performs check input value is not na n nor infinity.

public static void CheckInputValueIsNotNaNNorInfinity(double value, string parameterName)

Parameters

value double
The value to serialize or write.

parameterName string
The parameter name.

Returns

void

CheckFeatureSourceIsOpen(bool)

Performs check feature source is open.

public static void CheckFeatureSourceIsOpen(bool isOpen)

Parameters

isOpen bool
The is open.

Returns

void

CheckRtreeSpatialIndexIsOpen(bool)

Performs check rtree spatial index is open.

public static void CheckRtreeSpatialIndexIsOpen(bool isOpen)

Parameters

isOpen bool
The is open.

Returns

void

CheckRasterSourceIsOpen(bool)

Performs check raster source is open.

public static void CheckRasterSourceIsOpen(bool isOpen)

Parameters

isOpen bool
The is open.

Returns

void

CheckIsFastMode(bool)

Performs check is fast mode.

public static void CheckIsFastMode(bool fastMode)

Parameters

fastMode bool
The fast mode.

Returns

void

CheckStringIsNotNullNorEmpty(string, string)

Performs check string is not null nor empty.

public static void CheckStringIsNotNullNorEmpty(string value, string parameterName)

Parameters

value string
The value to serialize or write.

parameterName string
The parameter name.

Returns

void

CheckWkbIsValid(Byte[], string)

Performs check wkb is valid.

public static void CheckWkbIsValid(Byte[] wkb, string parameterName)

Parameters

wkb Byte[]
The wkb.

parameterName string
The parameter name.

Returns

void

CheckHtmlColorIsValid(string, string)

Performs check html color is valid.

public static void CheckHtmlColorIsValid(string htmlColor, string parameterName)

Parameters

htmlColor string
The html color.

parameterName string
The parameter name.

Returns

void

CheckFeatureSourceIsEditable(bool)

Performs check feature source is editable.

public static void CheckFeatureSourceIsEditable(bool isEditable)

Parameters

isEditable bool
The is editable.

Returns

void

CheckCanModifyColumnStructure(bool)

Performs check can modify column structure.

public static void CheckCanModifyColumnStructure(bool canModifyColumnStructure)

Parameters

canModifyColumnStructure bool
The can modify column structure.

Returns

void

CheckSpatialIndexIsDeletable(bool)

Performs check spatial index is deletable.

public static void CheckSpatialIndexIsDeletable(bool isDeletable)

Parameters

isDeletable bool
The is deletable.

Returns

void

CheckFeatureSourceIsInTransaction(bool)

Performs check feature source is in transaction.

public static void CheckFeatureSourceIsInTransaction(bool isInTransaction)

Parameters

isInTransaction bool
The is in transaction.

Returns

void

CheckFeatureSourceIsNotInTransaction(bool)

Performs check feature source is not in transaction.

public static void CheckFeatureSourceIsNotInTransaction(bool isInTransaction)

Parameters

isInTransaction bool
The is in transaction.

Returns

void

CheckImageFormatSupport(string)

Performs check image format support.

public static void CheckImageFormatSupport(string imageFormat)

Parameters

imageFormat string
The image format to use when encoding the output.

Returns

void

CheckFileIsExist(string)

Performs check file is exist.

public static void CheckFileIsExist(string pathFilename)

Parameters

pathFilename string
The path to the source file.

Returns

void

CheckFileIsNotExist(string)

Performs check file is not exist.

public static void CheckFileIsNotExist(string pathFilename)

Parameters

pathFilename string
The path to the source file.

Returns

void

CheckConnectionStringIsNotNull(string)

Performs check connection string is not null.

public static void CheckConnectionStringIsNotNull(string connectionString)

Parameters

connectionString string
The connection string.

Returns

void

CheckLayerIsOpened(bool)

Performs check layer is opened.

public static void CheckLayerIsOpened(bool isOpen)

Parameters

isOpen bool
The is open.

Returns

void

CheckLayerIsNotOpenedNorDrawing(bool)

Performs check layer is not opened nor drawing.

public static void CheckLayerIsNotOpenedNorDrawing(bool isOpenOrDrawing)

Parameters

isOpenOrDrawing bool
The is open or drawing.

Returns

void

CheckGeographyUnitIsValid(GeographyUnit, string)

Performs check geography unit is valid.

public static void CheckGeographyUnitIsValid(GeographyUnit geographyUnit, string parameterName)

Parameters

geographyUnit GeographyUnit
The geography unit.

parameterName string
The parameter name.

Returns

void

CheckProjectionConverterIsOpen(bool)

Performs check projection converter is open.

public static void CheckProjectionConverterIsOpen(bool isOpen)

Parameters

isOpen bool
The is open.

Returns

void

CheckImageFormatIsValid(string, Collection<string>, string)

Performs check image format is valid.

public static void CheckImageFormatIsValid(string imageFormat, Collection<string> outputFormats, string exceptionMessage)

Parameters

imageFormat string
The image format to use when encoding the output.

outputFormats Collection<string>
The output formats.

exceptionMessage string
The exception message.

Returns

void

CheckItemInCollection(string, Collection<string>, string)

Performs check item in collection.

public static void CheckItemInCollection(string item, Collection<string> items, string exceptionMessage)

Parameters

item string
The item.

items Collection<string>
The items.

exceptionMessage string
The exception message.

Returns

void

CheckItemsInCollection(Collection<string>, Collection<string>, string)

Performs check items in collection.

public static void CheckItemsInCollection(Collection<string> items, Collection<string> itemCollection, string exceptionMessage)

Parameters

items Collection<string>
The items.

itemCollection Collection<string>
The item collection.

exceptionMessage string
The exception message.

Returns

void

CheckIEnumerableIsNotNullNorEmpty(IEnumerable, string, string)

Performs check i enumerable is not null nor empty.

public static void CheckIEnumerableIsNotNullNorEmpty(IEnumerable values, string parameterName, string exceptionMessage)

Parameters

values IEnumerable
The values.

parameterName string
The parameter name.

exceptionMessage string
The exception message.

Returns

void

CheckLayerHasBoundingBox(bool)

Performs check layer has bounding box.

public static void CheckLayerHasBoundingBox(bool hasBoundingBox)

Parameters

hasBoundingBox bool
The has bounding box.

Returns

void

CheckFeatureColumnValueContainsColon(string, string)

Performs check feature column value contains colon.

public static void CheckFeatureColumnValueContainsColon(string value, string parameterName)

Parameters

value string
The value to serialize or write.

parameterName string
The parameter name.

Returns

void

CheckFeatureSourceCanExecuteSqlQuery(bool)

Performs check feature source can execute sql query.

public static void CheckFeatureSourceCanExecuteSqlQuery(bool canExecuteSqlQuery)

Parameters

canExecuteSqlQuery bool
The can execute sql query.

Returns

void

CheckNumberIsByte(int, string)

Performs check number is byte.

public static void CheckNumberIsByte(int number, string paramterName)

Parameters

number int
The number.

paramterName string
The paramter name.

Returns

void

CheckUriIsValid(Uri)

Performs check URI is valid.

public static void CheckUriIsValid(Uri uri)

Parameters

uri Uri
The URI.

Returns

void

CheckStreamIsWritable(Stream, string)

Performs check stream is writable.

public static void CheckStreamIsWritable(Stream stream, string parameterName)

Parameters

stream Stream
The stream to read from or write to.

parameterName string
The parameter name.

Returns

void

CheckStringIsNotNullNorEmptyForOperation(string, string)

Performs check string is not null nor empty for operation.

public static void CheckStringIsNotNullNorEmptyForOperation(string value, string exceptionMessage)

Parameters

value string
The value to serialize or write.

exceptionMessage string
The exception message.

Returns

void

CheckStatus()

Performs check status.

public static void CheckStatus()

Returns

void

CheckLongIsNotGreaterThanUInt32MaxValue(long)

Performs check long is not greater than u int 32 max value.

public static void CheckLongIsNotGreaterThanUInt32MaxValue(long value)

Parameters

value long
The value to serialize or write.

Returns

void

CheckScaleIsValid(double, string)

Performs check scale is valid.

public static void CheckScaleIsValid(double scale, string parameterName)

Parameters

scale double
The scale factor to apply.

parameterName string
The parameter name.

Returns

void

CheckZoomLevelSetIsValid(ZoomLevelSet, string)

Performs check zoom level set is valid.

public static void CheckZoomLevelSetIsValid(ZoomLevelSet zoomLevelSet, string parameterName)

Parameters

zoomLevelSet ZoomLevelSet
The zoom level set.

parameterName string
The parameter name.

Returns

void

FR4=(FileAccess, string)

internal static void FR4=(FileAccess readWriteMode, string parameterName)

Parameters

readWriteMode FileAccess

parameterName string

Returns

void