Click or drag to resize

ElementChangedEventArgsComparer<TChangeType, TElement> Class

An IEqualityComparer usable to compare ElementChangedEventArgs objects.
Inheritance Hierarchy
System.Object
  SD.Tools.Algorithmia.GeneralDataStructures.EqualityComparers.ElementChangedEventArgsComparer<TChangeType, TElement>

Namespace:  SD.Tools.Algorithmia.GeneralDataStructures.EqualityComparers
Assembly:  SD.Tools.Algorithmia (in SD.Tools.Algorithmia.dll) Version: 1.4.0.0 (1.4.19.0711)
Syntax
public class ElementChangedEventArgsComparer<TChangeType, TElement> : IEqualityComparer<ElementChangedEventArgs<TChangeType, TElement>>

Type Parameters

TChangeType
The type of the change type. Assumed to be an enum type
TElement
The type of the element.

The ElementChangedEventArgsComparer<TChangeType, TElement> type exposes the following members.

Constructors
  NameDescription
Public methodElementChangedEventArgsComparer<TChangeType, TElement>
Initializes a new instance of the ElementChangedEventArgsComparer<TChangeType, TElement> class
Top
Methods
  NameDescription
Public methodEquals(Object)
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodEquals(ElementChangedEventArgs<TChangeType, TElement>, ElementChangedEventArgs<TChangeType, TElement>)
Compares x with y and returns true if they're equal. This is a value-based comparison (so InvolvedElement and changetype 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(ElementChangedEventArgs<TChangeType, TElement>)
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