The ThreadSafeDictionary<(Of <(<'TKey, TValue>)>)> type exposes the following members.

Constructors

  Name Description
Public method ThreadSafeDictionary<(Of <(<'TKey, TValue>)>)>
Initializes a new instance of the ThreadSafeDictionary<(Of <(<'TKey, TValue>)>)> class

Methods

  Name Description
Public method Add(KeyValuePair<(Of <<'(TKey, TValue>)>>))
Adds an item to the Collection.
Public method Add(TKey, TValue)
Adds an element with the provided key and value to the Dictionary.
Public method Clear
Removes all items from the Collection.
Public method Contains
Determines whether the Collection contains a specific value.
Public method ContainsKey
Determines whether the Dictionary contains an element with the specified key.
Public method CopyTo
Copies the elements of the Collection to an System.Array, starting at a particular System.Array index.
Public method GetEnumerator
Gets the dictionary enumerator.
Public method MergeSafe
Merge does a blind remove, and then add if the new value is different from the old one.
Public method Remove(KeyValuePair<(Of <<'(TKey, TValue>)>>))
Removes the first occurrence of a specific object from the Collection.
Public method Remove(TKey)
Removes the element with the specified key from the Dictionary.
Public method TryGetValue
Gets the value associated with the specified key.

Extension Methods

  Name Description
Public Extension Method ConvertTo(Type) Overloaded.
Converts a source to the given type.
(Defined by ObjectExtension.)
Public Extension Method ConvertTo(Type, TypeConverter) Overloaded.
Converts a source to the given type.
(Defined by ObjectExtension.)
Public Extension Method ConvertTo(Type, Boolean) Overloaded.
Converts a source to the given type.
(Defined by ObjectExtension.)
Public Extension Method ConvertTo(Type, TypeConverter, Boolean) Overloaded.
Converts a source to the given type.
(Defined by ObjectExtension.)
Public Extension Method ConvertTo<(Of <<'(T>)>>)()()()() Overloaded.
Converts a source to the given type.
(Defined by ObjectExtension.)
Public Extension Method ConvertTo<(Of <<'(T>)>>)(TypeConverter) Overloaded.
Converts a source to the given type.
(Defined by ObjectExtension.)
Public Extension Method GetCurrentStackTrace
Gets current stack trace information.
(Defined by ObjectExtension.)
Public Extension Method GetDebugInformation
Gets the debug information for currently executing code.
(Defined by ObjectExtension.)
Public Extension Method GetExecutingMethodName
Gets the executing method name.
(Defined by ObjectExtension.)
Public Extension Method GetPropertyType
Gets a property type.
(Defined by ObjectExtension.)
Public Extension Method GetPropertyValue
Gets a property or field value from the object (Dot notation enabled).
(Defined by ObjectExtension.)
Public Extension Method PropertyExists
Check if property exists.
(Defined by ObjectExtension.)
Public Extension Method SetPropertyValue
Sets a property or field value to the object (Dot notation enabled).
(Defined by ObjectExtension.)

Properties

  Name Description
Public property Count
Gets the number of elements contained in the Collection.
Public property IsReadOnly
Public property Item
Gets or sets the dictionary item.
Public property Keys
Gets a Collection containing the keys of the Dictionary.
Public property Values
Gets an Collection containing the values in the Dictionary.

See Also