DataDictionaryTKey, TValue Class |
Namespace: Slash.Unity.DataBind.Core.Data
public class DataDictionary<TKey, TValue> : DataDictionary, IDictionary<TKey, TValue>, IEnumerable, ICollection<KeyValuePair<TKey, TValue>>, IEnumerable<KeyValuePair<TKey, TValue>>
The DataDictionaryTKey, TValue type exposes the following members.
Name | Description | |
---|---|---|
DataDictionaryTKey, TValue | Initializes a new instance of the DataDictionaryTKey, TValue class |
Name | Description | |
---|---|---|
Count |
Gets the number of elements contained in the ICollection.
(Overrides DataDictionaryCount.) | |
IsFixedSize |
Gets a value indicating whether the IDictionary object has a fixed size.
(Overrides DataDictionaryIsFixedSize.) | |
IsSynchronized |
Gets a value indicating whether access to the ICollection is synchronized (thread
safe).
(Overrides DataDictionaryIsSynchronized.) | |
ItemObject |
Gets or sets the element with the specified key.
(Overrides DataDictionaryItemObject.) | |
ItemTKey |
Gets or sets the element with the specified key.
| |
Keys |
Gets an ICollection object containing the keys of the
IDictionary object.
(Overrides DataDictionaryKeys.) | |
KeyType |
Type of dictionary keys.
(Overrides DataDictionaryKeyType.) | |
SyncRoot |
Gets an object that can be used to synchronize access to the ICollection.
(Overrides DataDictionarySyncRoot.) | |
Values |
Gets an ICollection object containing the values in the
IDictionary object.
(Overrides DataDictionaryValues.) | |
ValueType |
Type of dictionary values.
(Overrides DataDictionaryValueType.) |
Name | Description | |
---|---|---|
Add(KeyValuePairTKey, TValue) |
Adds an item to the ICollectionT.
| |
Add(Object, Object) |
Adds an element with the provided key and value to the IDictionary object.
(Overrides DataDictionaryAdd(Object, Object).) | |
Add(TKey, TValue) |
Adds an element with the provided key and value to the IDictionaryTKey, TValue.
| |
Clear |
Removes all elements from the IDictionary object.
(Overrides DataDictionaryClear.) | |
Contains(KeyValuePairTKey, TValue) |
Determines whether the ICollectionT contains a specific value.
| |
Contains(Object) |
Determines whether the IDictionary object contains an element with the specified
key.
(Overrides DataDictionaryContains(Object).) | |
ContainsKey |
Determines whether the IDictionaryTKey, TValue contains an element with the
specified key.
| |
CopyTo(Array, Int32) | (Overrides DataDictionaryCopyTo(Array, Int32).) | |
CopyTo(KeyValuePairTKey, TValue, Int32) | ||
GetEnumerator |
Returns an IDictionaryEnumerator object for the
IDictionary object.
(Overrides DataDictionaryGetEnumerator.) | |
Remove(KeyValuePairTKey, TValue) |
Removes the first occurrence of a specific object from the ICollectionT.
| |
Remove(Object) |
Removes the element with the specified key from the IDictionary object.
(Overrides DataDictionaryRemove(Object).) | |
Remove(TKey) |
Removes the element with the specified key from the IDictionaryTKey, TValue.
| |
TryGetValue(Object, Object) |
Tries to get the values for the specified key.
(Overrides DataDictionaryTryGetValue(Object, Object).) | |
TryGetValue(TKey, TValue) |
Gets the value associated with the specified key.
|
Name | Description | |
---|---|---|
Implode(String) | Overloaded.
Creates a separated string from the items of a collection.
Mostly used for debugging issues.
(Defined by CollectionUtils.) | |
ImplodeKeyValuePairTKey, TValue(String) | Overloaded.
Creates a separated string from the items of a collection.
Mostly used for debugging issues.
(Defined by CollectionUtils.) |