PropertyComparer PropertyComparer Class

Definition

public class PropertyComparer : IEqualityComparer<IProperty>, IComparer<IProperty>
Public Class PropertyComparer
    Implements IEqualityComparer(Of IProperty), IComparer(Of IProperty)
Inheritance
System.ObjectSystem.Object
PropertyComparerPropertyComparer
Implements
System.Collections.Generic.IEqualityComparer<IProperty>System.Collections.Generic.IEqualityComparer(Of IProperty) System.Collections.Generic.IComparer<IProperty>System.Collections.Generic.IComparer(Of IProperty)

Inherited Members

System.Object

System.Object.ToString()System.Object.ToString()
System.Object.Equals(System.Object)System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()System.Object.GetHashCode()
System.Object.GetType()System.Object.GetType()
System.Object.MemberwiseClone()System.Object.MemberwiseClone()

Constructors

PropertyComparer(Boolean) PropertyComparer(Boolean)

public PropertyComparer(bool compareAnnotations = true)
Public Sub New(compareAnnotations As Boolean = True)
Parameters
compareAnnotations
System.Boolean System.Boolean

Methods

Compare(IProperty, IProperty) Compare(IProperty, IProperty)

public int Compare(IProperty x, IProperty y)
Public Function Compare(x As IProperty, y As IProperty) As Integer
Parameters
Returns
System.Int32 System.Int32

Equals(IProperty, IProperty) Equals(IProperty, IProperty)

public bool Equals(IProperty x, IProperty y)
Public Function Equals(x As IProperty, y As IProperty) As Boolean
Parameters
Returns
System.Boolean System.Boolean

GetHashCode(IProperty) GetHashCode(IProperty)

public int GetHashCode(IProperty obj)
Public Function GetHashCode(obj As IProperty) As Integer
Parameters
Returns
System.Int32 System.Int32