Class HashCalculate
This is a helper class which creates an object hash value using Reflection.
Inheritance
System.Object
HashCalculate
Namespace: Syncfusion.XlsIO.Implementation
Assembly: Syncfusion.XlsIO.Portable.dll
Syntax
public sealed class HashCalculate : Object
Methods
CalculateHash(Object, String[])
Method calculates hash for any object. Method serializes object properties to string using Reflection and returns hash of created string.
Declaration
public static int CalculateHash(object value, string[] skipProps)
Parameters
Type | Name | Description |
---|---|---|
System.Object | value | Object which hash must be calculated. |
System.String[] | skipProps | Properties to skip. |
Returns
Type | Description |
---|---|
System.Int32 | Calculated hash code. |