TelemetryPropertyBags.Concurrent<TValue> Třída
Definice
Důležité
Některé informace platí pro předběžně vydaný produkt, který se může zásadně změnit, než ho výrobce nebo autor vydá. Microsoft neposkytuje žádné záruky, výslovné ani předpokládané, týkající se zde uváděných informací.
Kontejner vlastností Concurrent
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
- Dědičnost
-
ConcurrentDictionary<String,TValue>TelemetryPropertyBags.Concurrent<TValue>
- Odvozené
- 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>() |
Inicializátor souběžného sáčku |
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. |
Remove<TK,TV>(ConcurrentDictionary<TK,TV>, TK) |
Odebrání klíče z ConcurrentDictionary |
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. |