PostSharp6.2/API Reference/Post­Sharp.​Patterns.​Recording.​Operations Namespace/Remove­Dictionary­Item­Operation(TKey, TValue) Class

RemoveDictionaryItemOperation<TKey, TValue> Class

Represents a Remove(TKey) operation.
Inheritance Hierarchy
System.Object
  PostSharp.Patterns.Recording.Operation
    PostSharp.Patterns.Recording.Operations.DictionaryOperation<TKey, TValue>
      PostSharp.Patterns.Recording.Operations.RemoveDictionaryItemOperation<TKey, TValue>

Namespace:  PostSharp.Patterns.Recording.Operations
Assembly:  PostSharp.Patterns.Model (in PostSharp.Patterns.Model.dll) Version: 6.2.13.0 (6.2.13.0)
Syntax
C#
public sealed class RemoveDictionaryItemOperation<TKey, TValue> : DictionaryOperation<TKey, TValue>

Type Parameters

TKey
Type of dictionary keys.
TValue
Type of dictionary values.

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

Properties
  NameDescription
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.
(Inherited from DictionaryOperation<TKey, TValue>.)
Public propertyOldValue
Gets the value of the dictionary entry before the operation.
(Overrides DictionaryOperation<TKey, TValue>.OldValue.)
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.)
Methods
  NameDescription
Public methodVisitAffectedObjects
Executes a given action on all recordable objects involved with the current Operation.
(Inherited from DictionaryOperation<TKey, TValue>.)
See Also