NavigationComparer NavigationComparer Class

Syntax

Declaration

public class NavigationComparer : IEqualityComparer<INavigation>, IComparer<INavigation>Public Class NavigationComparer
    Implements IEqualityComparer(Of INavigation), IComparer(Of INavigation)

Inheritance Hierarchy

  • System.Object
    System.Object
  • NavigationComparer
    NavigationComparer

Inherited Members

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

Constructors summary

Methods summary

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

    Parameters

    Returns

    • System.Int32
      System.Int32

Details

Assembly

Microsoft.EntityFrameworkCore.Specification.Tests.dll