Skip to content

M_CodeJam_Collections_ComparerBuilder_1_GetGetHashCodeFunc_2

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

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

Returns GetHashCode 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, int> GetGetHashCodeFunc(
	params Expression<Func<T, Object>>[] members
)

VB

Public Shared Function GetGetHashCodeFunc ( 
	ParamArray members As Expression(Of Func(Of T, Object))()
) As Func(Of T, Integer)

F#

static member GetGetHashCodeFunc : 
        members : Expression<Func<'T, Object>>[] -> Func<'T, int> 

Parameters

 

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

Return Value

Type: Func(T, Int32)
GetHashCode function.

See Also

Reference

ComparerBuilder(T) Class
GetGetHashCodeFunc Overload
CodeJam.Collections Namespace

Clone this wiki locally