Click or drag to resize

DataDictionaryTKey, TValue Class

Dictionary for data values that should be monitored and report changes to its listeners.
Inheritance Hierarchy
SystemObject
  Slash.Unity.DataBind.Core.DataDataDictionary
    Slash.Unity.DataBind.Core.DataDataDictionaryTKey, TValue

Namespace:  Slash.Unity.DataBind.Core.Data
Assembly:  Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0
Syntax
public class DataDictionary<TKey, TValue> : DataDictionary, 
	IDictionary<TKey, TValue>, IEnumerable, ICollection<KeyValuePair<TKey, TValue>>, 
	IEnumerable<KeyValuePair<TKey, TValue>>

Type Parameters

TKey
Type of key.
TValue
Type of value.

The DataDictionaryTKey, TValue type exposes the following members.

Constructors
  NameDescription
Public methodDataDictionaryTKey, TValue
Initializes a new instance of the DataDictionaryTKey, TValue class
Top
Properties
  NameDescription
Public propertyCount
Gets the number of elements contained in the ICollection.
(Overrides DataDictionaryCount.)
Public propertyIsFixedSize
Gets a value indicating whether the IDictionary object has a fixed size.
(Overrides DataDictionaryIsFixedSize.)
Public propertyIsSynchronized
Gets a value indicating whether access to the ICollection is synchronized (thread safe).
(Overrides DataDictionaryIsSynchronized.)
Public propertyItemObject
Gets or sets the element with the specified key.
(Overrides DataDictionaryItemObject.)
Public propertyItemTKey
Gets or sets the element with the specified key.
Public propertyKeys
Gets an ICollection object containing the keys of the IDictionary object.
(Overrides DataDictionaryKeys.)
Public propertyKeyType
Type of dictionary keys.
(Overrides DataDictionaryKeyType.)
Public propertySyncRoot
Gets an object that can be used to synchronize access to the ICollection.
(Overrides DataDictionarySyncRoot.)
Public propertyValues
Gets an ICollection object containing the values in the IDictionary object.
(Overrides DataDictionaryValues.)
Public propertyValueType
Type of dictionary values.
(Overrides DataDictionaryValueType.)
Top
Methods
  NameDescription
Public methodAdd(KeyValuePairTKey, TValue)
Public methodAdd(Object, Object)
Adds an element with the provided key and value to the IDictionary object.
(Overrides DataDictionaryAdd(Object, Object).)
Public methodAdd(TKey, TValue)
Public methodClear
Removes all elements from the IDictionary object.
(Overrides DataDictionaryClear.)
Public methodContains(KeyValuePairTKey, TValue)
Public methodContains(Object)
Determines whether the IDictionary object contains an element with the specified key.
(Overrides DataDictionaryContains(Object).)
Public methodContainsKey
Public methodCopyTo(Array, Int32)
Copies the elements of the ICollection to an Array, starting at a particular Array index.
(Overrides DataDictionaryCopyTo(Array, Int32).)
Public methodCopyTo(KeyValuePairTKey, TValue, Int32)
Public methodGetEnumerator
Returns an IDictionaryEnumerator object for the IDictionary object.
(Overrides DataDictionaryGetEnumerator.)
Public methodRemove(KeyValuePairTKey, TValue)
Public methodRemove(Object)
Removes the element with the specified key from the IDictionary object.
(Overrides DataDictionaryRemove(Object).)
Public methodRemove(TKey)
Public methodTryGetValue(Object, Object)
Tries to get the values for the specified key.
(Overrides DataDictionaryTryGetValue(Object, Object).)
Public methodTryGetValue(TKey, TValue)
Gets the value associated with the specified key.
Top
Extension Methods
See Also