ValidationResultEqualityComparer..::..GetHashCode Method

Returns a hash code derived from the error message.

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

Syntax


public int GetHashCode(
	ValidationResult obj
)
Public Function GetHashCode ( _
	obj As ValidationResult _
) As Integer

Parameters

obj
Type: ValidationResult
The object.

Return Value

A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table.

Remarks


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