Skip to content

M_CodeJam_Collections_ComparerBuilder_1_GetEqualsFunc_2

Andrew Koryavchenko edited this page Jun 17, 2018 · 2 revisions

ComparerBuilder(T).GetEqualsFunc Method (Expression(Func(T, Object))[])

Returns GetEqualsFunc function for provided members for type T to compare.

Namespace: CodeJam.Collections
Assembly: CodeJam (in CodeJam.dll) Version: 2.1.0.0

Syntax

C#

public static Func<T, T, bool> GetEqualsFunc(
	params Expression<Func<T, Object>>[] members
)

VB

Public Shared Function GetEqualsFunc ( 
	ParamArray members As Expression(Of Func(Of T, Object))()
) As Func(Of T, T, Boolean)

F#

static member GetEqualsFunc : 
        members : Expression<Func<'T, Object>>[] -> Func<'T, 'T, bool> 

Parameters

 

members
Type: System.Linq.Expressions.Expression(Func(T, Object))[]
Members to compare.

Return Value

Type: Func(T, T, Boolean)
GetEqualsFunc function.

See Also

Reference

ComparerBuilder(T) Class
GetEqualsFunc Overload
CodeJam.Collections Namespace

Clone this wiki locally