AdvisableDictionary<TKey, TValue> Methods |
The AdvisableDictionary<TKey, TValue> generic type exposes the following members.
Name | Description | |
---|---|---|
Add | Adds an element with the provided key and value to the IDictionary<TKey, TValue>. | |
AddItem |
Adds an element into the underlying dictionary.
| |
Clear | Removes all elements from the IDictionary object. | |
ClearItems |
Removes all keys and items from the underlying dictionary.
| |
ContainsKey | Determines whether the IDictionary<TKey, TValue> contains an element with the specified key. | |
ContainsValue |
Determines whether the AdvisableDictionary<TKey, TValue> contains a specific value.
| |
ExecuteWithAdvices<TResult, TAction> |
Executes an action wrapped by all custom advices added to the current object.
(Inherited from DynamicallyAdvisableObject.) | |
GetAdviceEnumerator |
Gets an AdviceEnumerator<T> for the ICollectionDynamicAdvice<T> interface.
| |
GetEnumerator |
Returns an enumerator that iterates through the AdvisableDictionary<TKey, TValue>.
| |
GetObjectData | Populates a SerializationInfo with the data needed to serialize the target object. (Overrides DynamicallyAdvisableObject.GetObjectData(SerializationInfo, StreamingContext).) | |
InitializeAdvices |
Initializes the list of dynamic advices.
(Inherited from DynamicallyAdvisableObject.) | |
OnDeserialization | Runs when the entire object graph has been deserialized. (Overrides DynamicallyAdvisableObject.OnDeserialization(Object).) | |
Remove | Removes the element with the specified key from the IDictionary<TKey, TValue>. | |
RemoveItem |
Removes the value with the specific key from the underlying dictionary.
| |
SetItem |
Sets the value with the specified key in the underlying dictionary.
| |
TryGetValue | Gets the value associated with the specified key. |
Name | Description | |
---|---|---|
ToAdvisableCollection<KeyValuePair<TKey, TValue>> |
Converts an IEnumerable<T> into an AdvisableCollection<T>.
(Defined by Extensions.) | |
ToAdvisableDictionary<KeyValuePair<TKey, TValue>, TKey, TValue> |
Converts an IEnumerable<T> into a AdvisableDictionary<TKey, TValue> given a method returning the item key and a method returning the item value.
(Defined by Extensions.) | |
ToAdvisableHashSet<KeyValuePair<TKey, TValue>> |
Converts an IEnumerable<T> into an AdvisableHashSet<T>.
(Defined by Extensions.) |