AnimancerUtilities.

Get<TKey, TValue>(Dictionary<TKey, TValue>, TKey) Method

Summary

Returns the value registered in the `dictionary` using the `key`.
Assembly
Animancer.dll
Namespace
Animancer
Containing Type
AnimancerUtilities

Syntax

[MethodImpl(MethodImplOptions.AggressiveInlining)]
public static TValue Get<TKey, TValue>(this Dictionary<TKey, TValue> dictionary, TKey key)

Remarks

Returns default(TValue) if nothing was registered.

Attributes

Type Description
MethodImplAttribute

Type Parameters

Name Description
TKey
TValue

Parameters

Name Type Description
dictionary Dictionary<TKey, TValue>
key TKey

Return Value

Type Description
TValue