Share via


TelemetryPropertyBag Class

Definition

TelemetryPropertyBag is intended for the add properties to the subscibed events

public ref class TelemetryPropertyBag : Microsoft::VisualStudio::Telemetry::TelemetryPropertyBags::Concurrent<System::Object ^>
public class TelemetryPropertyBag : Microsoft.VisualStudio.Telemetry.TelemetryPropertyBags.Concurrent<object>
type TelemetryPropertyBag = class
    inherit TelemetryPropertyBags.Concurrent<obj>
Public Class TelemetryPropertyBag
Inherits TelemetryPropertyBags.Concurrent(Of Object)
Inheritance

Constructors

TelemetryPropertyBag()

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.

Applies to