TelemetryPropertyBags.Concurrent<TValue> Klasa
Definicja
Ważne
Niektóre informacje odnoszą się do produktu w wersji wstępnej, który może zostać znacząco zmodyfikowany przed wydaniem. Firma Microsoft nie udziela żadnych gwarancji, jawnych lub domniemanych, w odniesieniu do informacji podanych w tym miejscu.
Współbieżna torba właściwości
public: generic <typename TValue>
ref class TelemetryPropertyBags::Concurrent : System::Collections::Concurrent::ConcurrentDictionary<System::String ^, TValue>, Microsoft::VisualStudio::Telemetry::ITelemetryPropertyBag<TValue>, 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 class TelemetryPropertyBags.Concurrent<TValue> : System.Collections.Concurrent.ConcurrentDictionary<string,TValue>, Microsoft.VisualStudio.Telemetry.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 TelemetryPropertyBags.Concurrent<'Value> = class
inherit ConcurrentDictionary<string, 'Value>
interface ITelemetryPropertyBag<'Value>
interface IDictionary<string, 'Value>
interface ICollection<KeyValuePair<string, 'Value>>
interface seq<KeyValuePair<string, 'Value>>
interface IEnumerable
Public Class TelemetryPropertyBags.Concurrent(Of TValue)
Inherits ConcurrentDictionary(Of String, TValue)
Implements ICollection(Of KeyValuePair(Of String, TValue)), IDictionary(Of String, TValue), IEnumerable(Of KeyValuePair(Of String, TValue)), ITelemetryPropertyBag(Of TValue)
Parametry typu
- TValue
- Dziedziczenie
-
ConcurrentDictionary<String,TValue>TelemetryPropertyBags.Concurrent<TValue>
- Pochodne
- Implementuje
-
ITelemetryPropertyBag<TValue> ICollection<KeyValuePair<String,TValue>> ICollection<KeyValuePair<TKey,TValue>> IDictionary<String,TValue> IEnumerable<KeyValuePair<String,TValue>> IEnumerable<KeyValuePair<TKey,TValue>> IEnumerable<T> IEnumerable
Konstruktory
TelemetryPropertyBags.Concurrent<TValue>() |
Inicjator równoczesnej torby |
Metody rozszerzania
HasProperties<TValue>(ITelemetryPropertyBag<TValue>) |
Sprawdź, czy mamy właściwości |
AddRange<TKey,TValue>(IDictionary<TKey,TValue>, IDictionary<TKey,TValue>, Boolean) |
Dodawanie jednej zawartości słownika do innego słownika |
GetOrDefault<TK,TV>(IDictionary<TK,TV>, TK) |
Pobiera wartość według danego klucza. |
Remove<TK,TV>(ConcurrentDictionary<TK,TV>, TK) |
Usuwanie klucza z elementu ConcurrentDictionary |
EmptyIfNull<T>(IEnumerable<T>) |
Zwróć tę wyliczenie, jeśli nie ma wartości null. W przypadku, gdy ma wartość null, zwraca puste wyliczenie. |