Represents a Add(TKey, TValue) operation.
Namespace: PostSharp.Patterns.Recording.Operations
Assembly: PostSharp.Patterns.Model.dll
Syntax
[Obsolete("[Recordable] aspect and its components are deprecated and will be removed in a future version.", false)]
public sealed class AddDictionaryItemOperation<TKey, TValue> : DictionaryOperation<TKey, TValue>, IDictionaryOperation, IOperationDescriptorType Parameters
| Name | Description |
|---|---|
| TKey | Type of dictionary keys. |
| TValue | Type of dictionary values. |
Properties
| Name | Description |
|---|---|
| Key | Gets the key of the dictionary entry affected by the operation. |
| NewValue | Gets the value of the dictionary entry after the operation. |
| OperationKind | Gets the kind of operation. |
Methods
| Name | Description |
|---|---|
| Redo(ReplayContext) | Redo the current operation. |
| Undo(ReplayContext) | Undo the current operation. |