Skip to content

TopologyValidationResult

Namespace: ThinkGeo.Core

This structure represents the result of the validation method performed.

public struct TopologyValidationResult

Inheritance ObjectValueTypeTopologyValidationResult

Remarks:

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

Properties

IsValid

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

public bool IsValid { get; }

Property Value

Boolean

        This property returns either true or false, depending on whether the object has passed the
        validation method.

Remarks:

None

InvalidFeatures

This property describes the invalid features of validation method.

public Collection<Feature> InvalidFeatures { get; }

Property Value

Collection<Feature>

        This property returns zero or more features in a collection, depending on whether the object has passed the
        validation method.

Remarks:

None

Constructors

TopologyValidationResult(Boolean, IEnumerable<Feature>)

TopologyValidationResult(bool isValid, IEnumerable<Feature> invalidFeatures)

Parameters

isValid Boolean

invalidFeatures IEnumerable<Feature>