Click or drag to resize

QuantityComparer Class

IEqualityComparer for IQuantity that compares the id as is (including commas and spaces)
Inheritance Hierarchy
SystemObject
  DHI.Mike1D.GenericQuantityComparer

Namespace:  DHI.Mike1D.Generic
Assembly:  DHI.Mike1D.Generic (in DHI.Mike1D.Generic.dll) Version: 19.0.0.0 (11.1.1.1111)
Syntax
public class Comparer : IEqualityComparer<IQuantity>

The QuantityComparer type exposes the following members.

Constructors
  NameDescription
Public methodQuantityComparer
Initializes a new instance of the QuantityComparer class
Top
Methods
  NameDescription
Public methodEquals(Object)
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodEquals(IQuantity, IQuantity)
Determines whether the specified objects are equal.
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetHashCode(IQuantity)
Returns a hash code for the specified object.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also