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)

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

Equals(Object) Equals(Object)

Inherited from System.Object

Equals(Object, Object) Equals(Object, Object)

Inherited from System.Object

GetHashCode() GetHashCode()

Inherited from System.Object

GetHashCode(IProperty) GetHashCode(IProperty)

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

GetType() GetType()

Inherited from System.Object

MemberwiseClone() MemberwiseClone()

Inherited from System.Object

ReferenceEquals(Object, Object) ReferenceEquals(Object, Object)

Inherited from System.Object

ToString() ToString()

Inherited from System.Object