TelemetryPropertyBags.Concurrent<TValue> Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Concurrent property bag
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)
Type Parameters
- TValue
- Inheritance
-
ConcurrentDictionary<String,TValue>TelemetryPropertyBags.Concurrent<TValue>
- Derived
- Implements
-
ITelemetryPropertyBag<TValue> ICollection<KeyValuePair<String,TValue>> ICollection<KeyValuePair<TKey,TValue>> IDictionary<String,TValue> IEnumerable<KeyValuePair<String,TValue>> IEnumerable<KeyValuePair<TKey,TValue>> IEnumerable<T> IEnumerable
Constructors
TelemetryPropertyBags.Concurrent<TValue>() |
Initializer of the concurrent bag |
Extension Methods
HasProperties<TValue>(ITelemetryPropertyBag<TValue>) |
Check, whether we have properties |
AddRange<TKey,TValue>(IDictionary<TKey,TValue>, IDictionary<TKey,TValue>, Boolean) |
Add one dictionary content to the another dictionary |
GetOrDefault<TK,TV>(IDictionary<TK,TV>, TK) |
Gets a value by the given key. |
Remove<TK,TV>(ConcurrentDictionary<TK,TV>, TK) |
Remove key from the ConcurrentDictionary |
EmptyIfNull<T>(IEnumerable<T>) |
Return this enumeration in case it is not null. In case it is null return empty enumeration. |