Share via


LazyDictionary<TKey, TValue> Class

 

Namespace:   Microsoft.WindowsAzure.Common.Internals
Assembly:  Microsoft.WindowsAzure.Common (in Microsoft.WindowsAzure.Common.dll)

Inheritance Hierarchy

System.Object
  Microsoft.WindowsAzure.Common.Internals.LazyDictionary<TKey, TValue>

Syntax

public class LazyDictionary<TKey, TValue> : IDictionary<TKey, TValue>, 
    ICollection<KeyValuePair<TKey, TValue>>, IEnumerable<KeyValuePair<TKey, TValue>>, 
    IEnumerable, ILazyCollection
generic<typename TKey, typename TValue>
public ref class LazyDictionary : IDictionary<TKey, TValue>, ICollection<KeyValuePair<TKey, TValue>>, 
    IEnumerable<KeyValuePair<TKey, TValue>>, IEnumerable, ILazyCollection
type LazyDictionary<'TKey, 'TValue> = 
    class
        interface IDictionary<'TKey, 'TValue>
        interface ICollection<KeyValuePair<'TKey, 'TValue>>
        interface IEnumerable<KeyValuePair<'TKey, 'TValue>>
        interface IEnumerable
        interface ILazyCollection
    end
Public Class LazyDictionary(Of TKey, TValue)
    Implements IDictionary(Of TKey, TValue), ICollection(Of KeyValuePair(Of TKey, TValue)),
    IEnumerable(Of KeyValuePair(Of TKey, TValue)), IEnumerable, ILazyCollection

Type Parameters

  • TKey
  • TValue

Constructors

Name Description
System_CAPS_pubmethod LazyDictionary<TKey, TValue>()

System_CAPS_pubmethod LazyDictionary<TKey, TValue>(IDictionary<TKey, TValue>)

System_CAPS_pubmethod LazyDictionary<TKey, TValue>(IDictionary<TKey, TValue>, IEqualityComparer<TKey>)

System_CAPS_pubmethod LazyDictionary<TKey, TValue>(IEqualityComparer<TKey>)

System_CAPS_pubmethod LazyDictionary<TKey, TValue>(Int32)

System_CAPS_pubmethod LazyDictionary<TKey, TValue>(Int32, IEqualityComparer<TKey>)

Properties

Name Description
System_CAPS_pubproperty Count

System_CAPS_pubproperty IsInitialized

System_CAPS_pubproperty IsReadOnly

System_CAPS_pubproperty Item[TKey]

System_CAPS_pubproperty Keys

System_CAPS_pubproperty Values

Methods

Name Description
System_CAPS_pubmethod Add(TKey, TValue)

System_CAPS_pubmethod Add(KeyValuePair<TKey, TValue>)

System_CAPS_pubmethod Clear()

System_CAPS_pubmethod Contains(KeyValuePair<TKey, TValue>)

System_CAPS_pubmethod ContainsKey(TKey)

System_CAPS_pubmethod CopyTo(KeyValuePair<TKey, TValue>[], Int32)

System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_protmethod Finalize()

(Inherited from Object.)

System_CAPS_pubmethod GetEnumerator()

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_protmethod MemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethod Remove(TKey)

System_CAPS_pubmethod Remove(KeyValuePair<TKey, TValue>)

System_CAPS_pubmethod ToString()

(Inherited from Object.)

System_CAPS_pubmethod TryGetValue(TKey, TValue)

Explicit Interface Implementations

Name Description
System_CAPS_pubinterfaceSystem_CAPS_privmethod IEnumerable.GetEnumerator()

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Microsoft.WindowsAzure.Common.Internals Namespace

Return to top