Class EmptyDictionary<TKey, TValue> (3.2.0)

public static class EmptyDictionary<TKey, TValue>

Provides cached instances of empty dictionaries.

Inheritance

Object > EmptyDictionary<TKey, TValue>

Namespace

Google.Api.Gax

Assembly

Google.Api.Gax.dll

Type Parameters

NameDescription
TKey

The type of the keys in the dictionary.

TValue

The type of the values in the dictionary.

Properties

Instance

public static IDictionary<TKey, TValue> Instance { get; }

Gets a cached empty IDictionary<TKey,TValue>. The returned dictionary is read-only.

Property Value
TypeDescription
IDictionary<TKey, TValue>