Class HashHelpers
Inheritance
System.Object
HashHelpers
Assembly: Xamarin.Helpers.dll
Syntax
public static class HashHelpers
Methods
|
Improve this Doc
View Source
Hash(Boolean, Int32)
Declaration
public static int Hash(bool newKeyPart, int currentKey)
Parameters
Type |
Name |
Description |
System.Boolean |
newKeyPart |
|
System.Int32 |
currentKey |
|
Returns
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
Hash(Double[])
Declaration
public static int Hash(params double[] values)
Parameters
Type |
Name |
Description |
System.Double[] |
values |
|
Returns
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
Hash(Int32, Int32)
Declaration
public static int Hash(int newKey, int currentKey)
Parameters
Type |
Name |
Description |
System.Int32 |
newKey |
|
System.Int32 |
currentKey |
|
Returns
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
Hash(Int32[])
Declaration
public static int Hash(params int[] values)
Parameters
Type |
Name |
Description |
System.Int32[] |
values |
|
Returns
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
Hash(Object[])
Warning: this will box value/enum types!
Declaration
public static int Hash(params object[] values)
Parameters
Type |
Name |
Description |
System.Object[] |
values |
|
Returns
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
Hash<T>(T, Int32)
Warning: this will box enum types.
Declaration
public static int Hash<T>(T newKeyPart, int currentKey)
where T : class
Parameters
Type |
Name |
Description |
T |
newKeyPart |
|
System.Int32 |
currentKey |
|
Returns
Type |
Description |
System.Int32 |
|
Type Parameters