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
LazyDictionary<TKey, TValue>()

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

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

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

LazyDictionary<TKey, TValue>(Int32)

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

Properties

Name Description
Count

IsInitialized

IsReadOnly

Item[TKey]

Keys

Values

Methods

Name Description
Add(TKey, TValue)

Add(KeyValuePair<TKey, TValue>)

Clear()

Contains(KeyValuePair<TKey, TValue>)

ContainsKey(TKey)

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

Equals(Object)

(Inherited from Object.)

Finalize()

(Inherited from Object.)

GetEnumerator()

GetHashCode()

(Inherited from Object.)

GetType()

(Inherited from Object.)

MemberwiseClone()

(Inherited from Object.)

Remove(TKey)

Remove(KeyValuePair<TKey, TValue>)

ToString()

(Inherited from Object.)

TryGetValue(TKey, TValue)

Explicit Interface Implementations

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