ValidationResultEqualityComparer..::..Equals Method

Performs a value comparison by looking at the error message and member names

Namespace:  Tortuga.Anchor.Modeling.Internals
Assembly:  Tortuga.Anchor (in Tortuga.Anchor.dll)

Syntax


public bool Equals(
	Nullable<ValidationResult> x,
	Nullable<ValidationResult> y
)
Public Function Equals ( _
	x As Nullable(Of ValidationResult), _
	y As Nullable(Of ValidationResult) _
) As Boolean

Parameters

x
Type: Nullable<(Of <(<'ValidationResult>)>)>
The first object of to compare.
y
Type: Nullable<(Of <(<'ValidationResult>)>)>
The second object of to compare.

Return Value

true if the specified objects are equal; otherwise, false.

Remarks


WARNING: The result of Equals can change! It is based on ValidationResult, which unfortunately isn't immutable.