PropertyComparerT Class

This comparer is used to compare two items based on values retrieved from a property descriptor

Definition

Namespace: EWSoftware.PDI.Binding
Assembly: EWSoftware.PDI.Data (in EWSoftware.PDI.Data.dll) Version: 2023.1.2.0
public class PropertyComparer<T> : IComparer<T>
Inheritance
Object    PropertyComparerT
Implements
IComparerT

Type Parameters

T
The type of the objects to compare

Remarks

This takes into account child property references as well (those where the name contains an underscore).

Constructors

PropertyComparerT Constructor

Methods

Compare This compares the two items using the values obtained from the property descriptors and returns a value indicating whether one is less than, equal to, or greater than the other.
EqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
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)
GetPropertyValue This is used to get the property value from the 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