ITelemetryPropertyBag<TValue> 接口

定义

泛型 PropertyBag 的 ITelemetryPropertyBag 接口

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))

类型参数

TValue
派生
实现

扩展方法

HasProperties<TValue>(ITelemetryPropertyBag<TValue>)

检查我们是否有属性

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

将一个字典内容添加到另一个字典

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

获取给定键的值。

EmptyIfNull<T>(IEnumerable<T>)

如果枚举不为 null,则返回此枚举。 如果为 null,则返回空枚举。

适用于