TelemetryPropertyBags.Concurrent<TValue> 类
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
并发属性包
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)
类型参数
- TValue
- 继承
-
ConcurrentDictionary<String,TValue>TelemetryPropertyBags.Concurrent<TValue>
- 派生
- 实现
-
ITelemetryPropertyBag<TValue> ICollection<KeyValuePair<String,TValue>> ICollection<KeyValuePair<TKey,TValue>> IDictionary<String,TValue> IEnumerable<KeyValuePair<String,TValue>> IEnumerable<KeyValuePair<TKey,TValue>> IEnumerable<T> IEnumerable
构造函数
TelemetryPropertyBags.Concurrent<TValue>() |
并发包的初始值设定项 |
扩展方法
HasProperties<TValue>(ITelemetryPropertyBag<TValue>) |
检查我们是否有属性 |
AddRange<TKey,TValue>(IDictionary<TKey,TValue>, IDictionary<TKey,TValue>, Boolean) |
将一个字典内容添加到另一个字典 |
GetOrDefault<TK,TV>(IDictionary<TK,TV>, TK) |
按给定键获取值。 |
Remove<TK,TV>(ConcurrentDictionary<TK,TV>, TK) |
从 ConcurrentDictionary 中删除密钥 |
EmptyIfNull<T>(IEnumerable<T>) |
如果枚举不为 null,则返回此枚举。 如果为 null,则返回空枚举。 |