PostSharp 2023.0 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Patterns.​Recording.​Operations Namespace / Add­Dictionary­Item­Operation(TKey, TValue) Class / Add­Dictionary­Item­Operation(TKey, TValue) Properties

AddDictionaryItemOperation<TKey, TValue> Properties

The AddDictionaryItemOperation<TKey, TValue> generic type exposes the following members.

Public propertyDictionary
Gets the collection on which the operation was performed.
(Inherited from DictionaryOperation<TKey, TValue>.)
Public propertyKey
Gets the key of the dictionary entry affected by the operation.
(Overrides DictionaryOperation<TKey, TValue>.Key.)
Public propertyName
Gets the operation name.
(Inherited from Operation.)
Public propertyNewValue
Gets the value of the dictionary entry after the operation.
(Overrides DictionaryOperation<TKey, TValue>.NewValue.)
Public propertyOldValue
Gets the value of the dictionary entry before the operation.
(Inherited from DictionaryOperation<TKey, TValue>.)
Public propertyOperationDescriptor
Gets the IOperationDescriptor, which is used by the OperationFormatter to produce a human-readable description of the current operation.
(Inherited from Operation.)
Public propertyOperationKind
Gets the kind of operation.
(Overrides Operation.OperationKind.)
See Also