Property ComparerT 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: 2025.1.9.0
Assembly: EWSoftware.PDI.Data (in EWSoftware.PDI.Data.dll) Version: 2025.1.9.0
C#
public class PropertyComparer<T> : IComparer<T>
VB
Public Class PropertyComparer(Of T)
Implements IComparer(Of T)C++
generic<typename T>
public ref class PropertyComparer : IComparer<T>F#
type PropertyComparer<'T> =
class
interface IComparer<'T>
end- 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. |
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object) |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object) |
| GetHashCode | Serves as the default hash function. (Inherited from Object) |
| GetPropertyValue | This is used to get the property value from the object |
| GetType | Gets the Type of the current instance. (Inherited from Object) |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object) |
| ToString | Returns a string that represents the current object. (Inherited from Object) |