HashHelper

Name Value
Assembly Catel.Core
Namespace Catel
Available on .NET Framework 4.5, .NET Framework 4.6, Portable Class Libraries, Xamarin - Android, Xamarin - iOS
public static class HashHelper

Hash helper class to generate hashCodes for objects.

Methods

CombineHash(int[] hashCodes)

Combine multiple hashcodes in to one.

Parameters

Name Description
hashCodes An array of hashcodes.

Returns

An ‘unique’ hashcode.

Remarks

Based on System.Web.UI.HashCodeCombiner (use Reflector).


Have a question about Catel? Use StackOverflow with the Catel tag!


Discussion