Table of Contents

Struct TopologyValidationResult

Namespace
ThinkGeo.Core
Assembly
ThinkGeo.Core.dll

This structure represents the result of the validation method performed.

public struct TopologyValidationResult
Inherited Members

Remarks

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

Constructors

TopologyValidationResult(bool, IEnumerable<Feature>)

public TopologyValidationResult(bool isValid, IEnumerable<Feature> invalidFeatures)

Parameters

isValid bool
invalidFeatures IEnumerable<Feature>

Properties

InvalidFeatures

This property describes the invalid features of validation method.

public readonly 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

IsValid

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

public readonly bool IsValid { get; }

Property Value

bool

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

Remarks

None