QuantityGetHashCode(IQuantity) Method

Serves as a hash function for this type. Uses the Id of the quantity as specified, but not the description.

Definition

Namespace: DHI.Mike1D.Generic
Assembly: DHI.Mike1D.Generic (in DHI.Mike1D.Generic.dll) Version: 24.0.0.0 (11.1.1.1111)
C#
public static int GetHashCode(
	IQuantity quantity
)

Parameters

quantity  IQuantity

[Missing <param name="quantity"/> documentation for "M:DHI.Mike1D.Generic.Quantity.GetHashCode(DHI.Mike1D.Generic.IQuantity)"]

Return Value

Int32
A hash code for the current Quantity.

See Also