Sdílet prostřednictvím


ITelemetryPropertyBag<TValue> Rozhraní

Definice

Rozhraní ITelemetryPropertyBag pro obecný PropertyBag

generic <typename TValue>
public interface class ITelemetryPropertyBag : System::Collections::Generic::ICollection<System::Collections::Generic::KeyValuePair<System::String ^, TValue>>, System::Collections::Generic::IDictionary<System::String ^, TValue>, System::Collections::Generic::IEnumerable<System::Collections::Generic::KeyValuePair<System::String ^, TValue>>
public interface ITelemetryPropertyBag<TValue> : System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<string,TValue>>, System.Collections.Generic.IDictionary<string,TValue>, System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<string,TValue>>
type ITelemetryPropertyBag<'Value> = interface
    interface IDictionary<string, 'Value>
    interface ICollection<KeyValuePair<string, 'Value>>
    interface seq<KeyValuePair<string, 'Value>>
    interface IEnumerable
Public Interface ITelemetryPropertyBag(Of TValue)
Implements ICollection(Of KeyValuePair(Of String, TValue)), IDictionary(Of String, TValue), IEnumerable(Of KeyValuePair(Of String, TValue))

Parametry typu

TValue
Odvozené
Implementuje

Metody rozšíření

HasProperties<TValue>(ITelemetryPropertyBag<TValue>)

Zkontrolujte, jestli máme vlastnosti.

AddRange<TKey,TValue>(IDictionary<TKey,TValue>, IDictionary<TKey,TValue>, Boolean)

Přidání obsahu jednoho slovníku do jiného slovníku

GetOrDefault<TK,TV>(IDictionary<TK,TV>, TK)

Získá hodnotu podle daného klíče.

EmptyIfNull<T>(IEnumerable<T>)

Pokud nemá hodnotu null, vraťte tento výčet. V případě, že je null, vraťte prázdný výčet.

Platí pro