For Babelfish Release 1.11.1.3

EnumHelperGetHashValueTEnum Method

Generates a 32 bit hash code for a list of enums.

Definition

Namespace: Scopos.BabelFish.Helpers
Assembly: BabelFish (in BabelFish.dll) Version: 1.11.1.4+b1da393815f6638555a663d9a94167ecabea5695
C#
public static int GetHashValue<TEnum>(
	this IEnumerable<TEnum> enums
)
where TEnum : struct, new()

Parameters

enums  IEnumerableTEnum

Type Parameters

TEnum

Return Value

Int32

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IEnumerableTEnum. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).

See Also