Delen via


IProperty.CreateKeyEqualityComparer<TProperty> Method

Definition

Creates an IEqualityComparer<T> for values of the given property type.

public virtual System.Collections.Generic.IEqualityComparer<TProperty> CreateKeyEqualityComparer<TProperty> ();
abstract member CreateKeyEqualityComparer : unit -> System.Collections.Generic.IEqualityComparer<'Property>
override this.CreateKeyEqualityComparer : unit -> System.Collections.Generic.IEqualityComparer<'Property>
Public Overridable Function CreateKeyEqualityComparer(Of TProperty) () As IEqualityComparer(Of TProperty)

Type Parameters

TProperty

The property type.

Returns

IEqualityComparer<TProperty>

A new equality comparer.

Applies to