TimeIntervalTGetHashCode Method (IEqualityComparerT) |
Returns a hash code for this instance, which is suitable for use in hashing algorithms and data structures like a hash table.
Namespace:
AGI.Foundation.Time
Assembly:
AGI.Foundation.Core (in AGI.Foundation.Core.dll) Version: 24.3.420.0 (24.3.420.0)
Syntax public int GetHashCode(
IEqualityComparer<T> dataComparer
)
Public Function GetHashCode (
dataComparer As IEqualityComparer(Of T)
) As Integer
public:
int GetHashCode(
IEqualityComparer<T>^ dataComparer
)
member GetHashCode :
dataComparer : IEqualityComparer<'T> -> int
Parameters
- dataComparer
- Type: System.Collections.GenericIEqualityComparerT
The object to use to retrieve the hash code for the Data property of the interval.
Return Value
Type:
Int32
A hash code for the current object.
See Also