Click or drag to resize

DefinitionalObjectGetDictionaryHashCodeTKey, TValue Method

Computes a hash code from the items in a dictionary.

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 int GetDictionaryHashCode<TKey, TValue>(
	IDictionary<TKey, TValue> dictionary
)

Parameters

dictionary
Type: System.Collections.GenericIDictionaryTKey, TValue
The dictionary containing the items for which to compute the hash code.

Type Parameters

TKey
The type of the keys in the dictionary.
TValue
The type of the values in the dictionary.

Return Value

Type: Int32
The computed hash code.
See Also