Class HashCalculate
This is a helper class which creates an object hash value using Reflection.
Inheritance
System.Object
HashCalculate
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Syncfusion.XlsIO.Implementation
Assembly: Syncfusion.XlsIO.Base.dll
Syntax
public sealed class HashCalculate
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. |