Show / Hide Table of Contents

Class EmptyDictionary<TKey, TValue>

Provides cached instances of empty dictionaries.

Inheritance
System.Object
EmptyDictionary<TKey, TValue>
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Google.Api.Gax
Assembly: Google.Api.Gax.dll
Syntax
public static class EmptyDictionary<TKey, TValue>
Type Parameters
Name Description
TKey

The type of the keys in the dictionary.

TValue

The type of the values in the dictionary.

Properties

Instance

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

Declaration
public static IDictionary<TKey, TValue> Instance { get; }
Property Value
Type Description
System.Collections.Generic.IDictionary<TKey, TValue>
Back to top