Class HashCodeFactory
Contains methods to create hash codes.
public static class HashCodeFactory
- Inheritance
-
HashCodeFactory
- Inherited Members
Methods
Combine<T>(IEnumerable<T>)
Creates a new hash code out of a collection of values.
public static int Combine<T>(IEnumerable<T> values)
Parameters
valuesIEnumerable<T>The values to generate the hash code from.
Returns
- int
The hash code from the combined values.
Type Parameters
TThe type of values stored in the collection.
Combine<T>(params T[])
Creates a new hash code out of an array of values.
public static int Combine<T>(params T[] values)
Parameters
valuesT[]The values to generate the hash code from.
Returns
- int
The hash code from the combined values.
Type Parameters
TThe type of values stored in the array.