Class EmptyDictionary<TKey, TValue> (4.3.1)

public static class EmptyDictionary<TKey, TValue>

Provides cached instances of empty dictionaries.

Inheritance

object > EmptyDictionary<TKey, TValue>

Namespace

GoogleGoogle.ApiGax

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