Click or drag to resize

HashCode Class

Contains static methods for working with hash codes.
Inheritance Hierarchy
SystemObject
  AGI.Foundation.InfrastructureHashCode

Namespace:  AGI.Foundation.Infrastructure
Assembly:  AGI.Foundation.Core (in AGI.Foundation.Core.dll) Version: 24.2.419.0 (24.2.419.0)
Syntax
public static class HashCode
Methods
  NameDescription
Public methodStatic memberCombine(Int32)
Combines an arbitrary number of hash codes.
Public methodStatic memberCombine(Int32, Int32)
Combines two hash codes.
Public methodStatic memberCombine(Int32, Int32, Int32)
Combines three hash codes.
Public methodStatic memberCombine(Int32, Int32, Int32, Int32)
Combines four hash codes.
Public methodStatic memberCombine(Int32, Int32, Int32, Int32, Int32)
Combines five hash codes.
Public methodStatic memberGetHashCode(Boolean)
Gets a hash code for a specified boolean. This overload simply calls GetHashCode and is provided for convenience.
Public methodStatic memberGetHashCode(Double)
Gets a hash code for a specified double. This overload simply calls GetHashCode and is provided for convenience.
Public methodStatic memberGetHashCode(Double)
Gets a hash code for the items in the specified array. The hash code is computed by using Combine(Int32) to combine the hash codes of the items in the array. If the array is null, the returned hash code is zero.
Public methodStatic memberGetHashCode(Double)
Gets a hash code for the items in the specified two dimensional array. The hash code is computed by using Combine(Int32) to combine the hash codes of the items in the array. If the array is null, the returned hash code is zero.
Public methodStatic memberGetHashCode(Int32)
Gets a hash code for a specified int. This overload simply calls GetHashCode and is provided for convenience.
Public methodStatic memberGetHashCode(Object)
Gets a hash code for a specified object, or zero if the object is .
Public methodStatic memberGetHashCode(String)
Gets a hash code for a specified string, or zero if the string is .
Public methodStatic memberGetHashCodeT(T)
Gets a hash code for the items in the specified array. The hash code is computed by using Combine(Int32) to combine the hash codes of the items in the array. If the array is null, the returned hash code is zero.
Public methodStatic memberGetHashCodeT(T)
Gets a hash code for the items in the specified two dimensional array. The hash code is computed by using Combine(Int32) to combine the hash codes of the items in the array. If the array is null, the returned hash code is zero.
Public methodStatic memberGetHashCodeT(IEnumerableT)
Gets a hash code for the items in the specified sequence. The hash code is computed by using Combine(Int32) to combine the hash codes of the items in the sequence. If items is null, the returned hash code is zero.
Public methodStatic memberGetHashCodeT(T, HashCodeGetHashCodeFunctionT)
Gets a hash code for the items in the specified array. The hash code is computed by using Combine(Int32) to combine the hash codes of the items in the array. If the array is null, the returned hash code is zero.
Public methodStatic memberGetHashCodeT(T, HashCodeGetHashCodeFunctionT)
Gets a hash code for the items in the specified two dimensional array. The hash code is computed by using Combine(Int32) to combine the hash codes of the items in the array. If the array is null, the returned hash code is zero.
Public methodStatic memberGetHashCodeT(IEnumerableT, HashCodeGetHashCodeFunctionT)
Gets a hash code for the items in the specified sequence. The hash code is computed by using Combine(Int32) to combine the hash codes of the items in the sequence. If items is null, the returned hash code is zero.
Top
See Also