-
Notifications
You must be signed in to change notification settings - Fork 35
M_CodeJam_Collections_ComparerBuilder_1_GetEqualityComparer_1
Andrew Koryavchenko edited this page Jun 17, 2018
·
5 revisions
Returns implementations of the IEqualityComparer(T) generic interface based on provided object public members equality.
Namespace: CodeJam.Collections
Assembly: CodeJam (in CodeJam.dll) Version: 2.1.0.0
C#
public static IEqualityComparer<T> GetEqualityComparer(
Func<TypeAccessor<T>, IEnumerable<MemberAccessor>> membersToCompare
)
VB
Public Shared Function GetEqualityComparer (
membersToCompare As Func(Of TypeAccessor(Of T), IEnumerable(Of MemberAccessor))
) As IEqualityComparer(Of T)
F#
static member GetEqualityComparer :
membersToCompare : Func<TypeAccessor<'T>, IEnumerable<MemberAccessor>> -> IEqualityComparer<'T>
- membersToCompare
- Type: System.Func(TypeAccessor(T), IEnumerable(MemberAccessor))
A function that returns members to compare.
Type: IEqualityComparer(T)
Instance of IEqualityComparer(T).
ComparerBuilder(T) Class
GetEqualityComparer Overload
CodeJam.Collections Namespace