Computes a hash code for coll.

Namespace: NHibernate.Util
Assembly: NHibernate (in NHibernate.dll) Version: 3.2.0.4000 (3.2.0.4000)

Syntax

C#
public static int GetHashCode<T>(
	IEnumerable<T> coll
)
Visual Basic
Public Shared Function GetHashCode(Of T) ( _
	coll As IEnumerable(Of T) _
) As Integer
Visual C++
public:
generic<typename T>
static int GetHashCode(
	IEnumerable<T>^ coll
)

Parameters

coll
Type: System.Collections.Generic..::..IEnumerable<(Of <(<'T>)>)>

[Missing <param name="coll"/> documentation for "M:NHibernate.Util.CollectionHelper.GetHashCode``1(System.Collections.Generic.IEnumerable{``0})"]

Type Parameters

T

[Missing <typeparam name="T"/> documentation for "M:NHibernate.Util.CollectionHelper.GetHashCode``1(System.Collections.Generic.IEnumerable{``0})"]

Return Value

[Missing <returns> documentation for "M:NHibernate.Util.CollectionHelper.GetHashCode``1(System.Collections.Generic.IEnumerable{``0})"]

Remarks

The hash code is computed as the sum of hash codes of individual elements, so that the value is independent of the collection iteration order.

See Also