Thread safe dictionary.

Namespace: MonoSoftware.Core.Collections
Assembly: MonoSoftware.Core (in MonoSoftware.Core.dll) Version: 1.0.40.669 (1.0.40.669)

Syntax

C#
[SerializableAttribute]
public class ThreadSafeDictionary<TKey, TValue> : IDictionary<TKey, TValue>, 
	ICollection<KeyValuePair<TKey, TValue>>, IEnumerable<KeyValuePair<TKey, TValue>>, 
	IEnumerable
Visual Basic
<SerializableAttribute>
Public Class ThreadSafeDictionary(Of TKey, TValue)
	Implements IDictionary(Of TKey, TValue), ICollection(Of KeyValuePair(Of TKey, TValue)), 
	IEnumerable(Of KeyValuePair(Of TKey, TValue)), IEnumerable
Visual C++
[SerializableAttribute]
generic<typename TKey, typename TValue>
public ref class ThreadSafeDictionary : IDictionary<TKey, TValue>, 
	ICollection<KeyValuePair<TKey, TValue>>, IEnumerable<KeyValuePair<TKey, TValue>>, 
	IEnumerable
F#
[<SerializableAttribute>]
type ThreadSafeDictionary<'TKey, 'TValue> =  
    class
        interface IDictionary<'TKey, 'TValue>
        interface ICollection<KeyValuePair<'TKey, 'TValue>>
        interface IEnumerable<KeyValuePair<'TKey, 'TValue>>
        interface IEnumerable
    end

Type Parameters

TKey
Key
TValue
Value

Remarks

For reference, please see the http://devplanet.com/blogs/brianr/archive/2008/09/29/thread-safe-dictionary-update.aspx.

Inheritance Hierarchy

System..::..Object
  MonoSoftware.Core.Collections..::..ThreadSafeDictionary<(Of <(<'TKey, TValue>)>)>

See Also