Class EmptyDictionary<TKey, TValue> (4.4.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

Name Description
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
Type Description
IDictionary