Base class for operations on an AdvisableDictionary<TKey, TValue>.
Inheritance
DictionaryOperation<TKey, TValue>
Namespace: PostSharp.Patterns.Recording.Operations
Assembly: PostSharp.Patterns.Model.dll
Syntax
public abstract class DictionaryOperation<TKey, TValue> : Operation, IDictionaryOperation, IOperationDescriptor
Type Parameters
Name | Description |
---|---|
TKey | Type of keys. |
TValue | Type of values. |
Properties
Name | Description |
---|---|
Dictionary | Gets the collection on which the operation was performed. |
Key | Gets the key of the dictionary entry affected by the operation. |
NewValue | Gets the value of the dictionary entry after the operation. |
OldValue | Gets the value of the dictionary entry before the operation. |
Methods
Name | Description |
---|---|
VisitAffectedObjects(Action<object>) | Executes a given action on all recordable objects involved with the current Operation. |