QuantityGroupComparer Class

Provides a equality comparer that groups quantities of the same type.

Quantities like SnowCover, SnowCover_2, SnowCover_3 are in this context grouped under one.

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 class GroupComparer : IEqualityComparer<IQuantity>
Inheritance
Object    QuantityGroupComparer
Implements
IEqualityComparerIQuantity

Constructors

QuantityGroupComparerInitializes a new instance of the QuantityGroupComparer class

Methods

Equals(Object)Determines whether the specified object is equal to the current object.
(Inherited from Object)
Equals(IQuantity, IQuantity)Determines whether the specified objects are equal.
FinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
GetHashCodeServes as the default hash function.
(Inherited from Object)
GetHashCode(IQuantity)Returns a hash code for the specified object.
GetTypeGets the Type of the current instance.
(Inherited from Object)
MemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
ToStringReturns a string that represents the current object.
(Inherited from Object)

See Also