User Tools

Site Tools


thinkgeo.mapsuite.windowsphonecore.shapevalidationresult

ThinkGeo.MapSuite.WindowsPhoneCore.ShapeValidationResult

Note: The page was created before Map Suite 10. Map Suite 10.0 organized many classes into new namespaces and assemblies as well as had a few minor breaks in compatibility. The majority of previously built code should work without modification assuming the new namespaces are added. For guidance on upgrading your existing code, please check out MapSuite 10 Upgrade Guide.

<!– Structure –> This structure represents the result of the validation method performed on a shape.

Remarks

This is used to determine if an validation rule was broken for a shape. This structure also returns the description of the violation.

Inheritance Hierarchy

Members Summary

Public Constructors

Name Parameters DeclaringType Summary
Public MethodShapeValidationResult Boolean, String This constructor allows you to set the IsValid and ValidationErrors properties.

Protected Constructors

Name Parameters DeclaringType Summary

Public Methods

Name Parameters DeclaringType Summary
Public MethodEquals Object Object(overriden) This method is an override of the Equals functionality.
Public MethodGetHashCode Object(overriden) This method is an override of the GetHashCode functionality.
Public MethodGetType Object
Public MethodToString Object(overriden)

Protected Methods

Name Parameters DeclaringType Summary
Protected MethodFinalize Object
Protected MethodMemberwiseClone Object

Public Properties

Name Return DeclaringType Summary
Public PropertyIsValid Boolean This property describes whether the object has passed its validation method.
Public PropertyValidationErrors String This property describes the list of errors if the object did not pass its validation method.

Protected Properties

Name Return DeclaringType Summary

Public Events

Name Event Arguments DeclaringType Summary

Public Constructors

ShapeValidationResult(Boolean, String)

This constructor allows you to set the IsValid and ValidationErrors properties.

Parameters

Name Type Description
isValid Boolean<!– System.Boolean –> This parameter describes whether the object has passed its validation method.
validationErrors String<!– System.String –> This parameter describes the list of errors if the object did not pass its validation method. The errors are separated by semicolons.

Go Back

Protected Constructors

Public Methods

Equals(Object)

This method is an override of the Equals functionality.

Return Value

Return Type Description
Boolean<!– System.Boolean –>

Parameters

Name Type Description
obj Object<!– System.Object –>

<!– System.Object(overriden) –> Go Back

GetHashCode()

This method is an override of the GetHashCode functionality.

Return Value

Return Type Description
Int32<!– System.Int32 –>

Parameters

Name Type Description

<!– System.Object(overriden) –> Go Back

GetType()

Return Value

Return Type Description
Type<!– System.Type –>

Parameters

Name Type Description

<!– System.Object –> Go Back

ToString()

Return Value

Return Type Description
String<!– System.String –>

Parameters

Name Type Description

<!– System.Object(overriden) –> Go Back

Protected Methods

Finalize()

Return Value

Return Type Description
Void<!– System.Void –>

Parameters

Name Type Description

<!– System.Object –> Go Back

MemberwiseClone()

Return Value

Return Type Description
Object<!– System.Object –>

Parameters

Name Type Description

<!– System.Object –> Go Back

Public Properties

IsValid

This property describes whether the object has passed its validation method.

Return Value

Return Type
Boolean<!– System.Boolean –>

<!– ThinkGeo.MapSuite.WindowsPhoneCore.ShapeValidationResult –> Go Back

ValidationErrors

This property describes the list of errors if the object did not pass its validation method.

Remarks

If there are multiple errors, they will be separated by semicolons. If the object passed its validations, then this string will be empty.

Return Value

Return Type
String<!– System.String –>

<!– ThinkGeo.MapSuite.WindowsPhoneCore.ShapeValidationResult –> Go Back

Protected Properties

Public Events

thinkgeo.mapsuite.windowsphonecore.shapevalidationresult.txt · Last modified: 2017/03/16 21:59 (external edit)