Table of Contents

Class HashCodeFactory

Namespace
Garyon.Functions
Assembly
Garyon.dll

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

values IEnumerable<T>

The values to generate the hash code from.

Returns

int

The hash code from the combined values.

Type Parameters

T

The 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

values T[]

The values to generate the hash code from.

Returns

int

The hash code from the combined values.

Type Parameters

T

The type of values stored in the array.