IndexComparer IndexComparer Class

Syntax

Declaration

public class IndexComparer : IEqualityComparer<IIndex>, IComparer<IIndex>Public Class IndexComparer
    Implements IEqualityComparer(Of IIndex), IComparer(Of IIndex)

Inheritance Hierarchy

  • System.Object
    System.Object
  • IndexComparer
    IndexComparer

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

  • IndexComparer(Boolean)
    IndexComparer(Boolean)
    public IndexComparer(bool compareAnnotations = true)Public Sub New(compareAnnotations As Boolean = True)

    Parameters

    • compareAnnotations
      System.Boolean
      System.Boolean

Methods

  • Compare(IIndex, IIndex)
    Compare(IIndex, IIndex)
    public int Compare(IIndex x, IIndex y)Public Function Compare(x As IIndex, y As IIndex) As Integer

    Parameters

    Returns

    • System.Int32
      System.Int32
  • Equals(IIndex, IIndex)
    Equals(IIndex, IIndex)
    public bool Equals(IIndex x, IIndex y)Public Function Equals(x As IIndex, y As IIndex) As Boolean

    Parameters

    Returns

    • System.Boolean
      System.Boolean
  • GetHashCode(IIndex)
    GetHashCode(IIndex)
    public int GetHashCode(IIndex obj)Public Function GetHashCode(obj As IIndex) As Integer

    Parameters

    Returns

    • System.Int32
      System.Int32

Details

Assembly

Microsoft.EntityFrameworkCore.Specification.Tests.dll