DictionaryOperation<TKey, TValue> Class |
Base class for operations on an AdvisableDictionary<TKey, TValue>.
System.Object
PostSharp.Patterns.Recording.Operation
PostSharp.Patterns.Recording.Operations.DictionaryOperation<TKey, TValue>
PostSharp.Patterns.Recording.Operations.AddDictionaryItemOperation<TKey, TValue>
PostSharp.Patterns.Recording.Operations.ClearDictionaryOperation<TKey, TValue>
PostSharp.Patterns.Recording.Operations.RemoveDictionaryItemOperation<TKey, TValue>
PostSharp.Patterns.Recording.Operations.SetDictionaryItemOperation<TKey, TValue>
PostSharp.Patterns.Recording.Operation
PostSharp.Patterns.Recording.Operations.DictionaryOperation<TKey, TValue>
PostSharp.Patterns.Recording.Operations.AddDictionaryItemOperation<TKey, TValue>
PostSharp.Patterns.Recording.Operations.ClearDictionaryOperation<TKey, TValue>
PostSharp.Patterns.Recording.Operations.RemoveDictionaryItemOperation<TKey, TValue>
PostSharp.Patterns.Recording.Operations.SetDictionaryItemOperation<TKey, TValue>
Namespace: PostSharp.Patterns.Recording.Operations
Assembly: PostSharp.Patterns.Model (in PostSharp.Patterns.Model.dll) Version: 6.10.10.0 (6.10.10.0)
C#
public abstract class DictionaryOperation<TKey, TValue> : Operation, IDictionaryOperation, IOperationDescriptor
Type Parameters
- TKey
- Type of keys.
- TValue
- Type of values.
The DictionaryOperation<TKey, TValue> type exposes the following members.
Name | Description | |
---|---|---|
Dictionary |
Gets the collection on which the operation was performed.
| |
Key |
Gets the key of the dictionary entry affected by the operation.
| |
Name |
Gets the operation name.
(Inherited from Operation.) | |
NewValue |
Gets the value of the dictionary entry after the operation.
| |
OldValue |
Gets the value of the dictionary entry before the operation.
| |
OperationDescriptor |
Gets the IOperationDescriptor, which is used by the OperationFormatter to produce a human-readable description
of the current operation.
(Inherited from Operation.) | |
OperationKind |
Gets the kind of operation.
(Inherited from Operation.) |
Name | Description | |
---|---|---|
GetMergeStatus | (Inherited from Operation.) | |
Merge | (Inherited from Operation.) | |
Redo |
Redo the current operation.
(Inherited from Operation.) | |
Undo |
Undo the current operation.
(Inherited from Operation.) | |
VisitAffectedObjects |
Executes a given action on all recordable objects involved with the current Operation.
(Overrides Operation.VisitAffectedObjects(Action<Object>).) |