-
Notifications
You must be signed in to change notification settings - Fork 35
M_CodeJam_Collections_ComparerBuilder_1_GetEqualityComparer_2
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(
params Expression<Func<T, Object>>[] membersToCompare
)
VB
Public Shared Function GetEqualityComparer (
ParamArray membersToCompare As Expression(Of Func(Of T, Object))()
) As IEqualityComparer(Of T)
F#
static member GetEqualityComparer :
membersToCompare : Expression<Func<'T, Object>>[] -> IEqualityComparer<'T>
- membersToCompare
- Type: System.Linq.Expressions.Expression(Func(T, Object))[]
Members to compare.
Type: IEqualityComparer(T)
Instance of IEqualityComparer(T).
ComparerBuilder(T) Class
GetEqualityComparer Overload
CodeJam.Collections Namespace