NavigationComparer NavigationComparer Class

Definition

public class NavigationComparer : IEqualityComparer<INavigation>, IComparer<INavigation>
Public Class NavigationComparer
    Implements IEqualityComparer(Of INavigation), IComparer(Of INavigation)
Inheritance
System.ObjectSystem.Object
NavigationComparerNavigationComparer
Implements
System.Collections.Generic.IEqualityComparer<INavigation>System.Collections.Generic.IEqualityComparer(Of INavigation) System.Collections.Generic.IComparer<INavigation>System.Collections.Generic.IComparer(Of INavigation)

Constructors

NavigationComparer(Boolean) NavigationComparer(Boolean)

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

Methods

Compare(INavigation, INavigation) Compare(INavigation, INavigation)

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

Equals(INavigation, INavigation) Equals(INavigation, INavigation)

public bool Equals(INavigation x, INavigation y)
Public Function Equals(x As INavigation, y As INavigation) 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(INavigation) GetHashCode(INavigation)

public int GetHashCode(INavigation obj)
Public Function GetHashCode(obj As INavigation) 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