Compartilhar via


Classe LazyDictionary<TKey, TValue>

 

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

Hierarquia de herança

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

Sintaxe

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

Parâmetros de tipo

  • TKey
  • TValue

Construtores

Nome Descrição
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>)

Propriedades

Nome Descrição
Count

IsInitialized

IsReadOnly

Item[TKey]

Keys

Values

Métodos

Nome Descrição
Add(TKey, TValue)

Add(KeyValuePair<TKey, TValue>)

Clear()

Contains(KeyValuePair<TKey, TValue>)

ContainsKey(TKey)

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

Equals(Object)

(herdado de Object.)

Finalize()

(herdado de Object.)

GetEnumerator()

GetHashCode()

(herdado de Object.)

GetType()

(herdado de Object.)

MemberwiseClone()

(herdado de Object.)

Remove(TKey)

Remove(KeyValuePair<TKey, TValue>)

ToString()

(herdado de Object.)

TryGetValue(TKey, TValue)

Implementações explícitas da interface

Nome Descrição
IEnumerable.GetEnumerator()

Acesso thread-safe

Qualquer estático público (Compartilhado no Visual Basic) membros desde tipo são thread safe. Não há garantia de que qualquer membro de instância seja thread-safe.

Consulte também

Namespace Microsoft.WindowsAzure.Common.Internals

Retornar ao topo