PostSharp 5.0 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Patterns.​Recording.​Operations Namespace / Clear­Dictionary­Operation(TKey, TValue) Class

ClearDictionaryOperation<TKey, TValue> Class

Represents the AdvisableDictionary<TKey, TValue> operation.
Inheritance Hierarchy
    PostSharp.Patterns.Recording.Operations.DictionaryOperation<TKey, TValue>
      PostSharp.Patterns.Recording.Operations.ClearDictionaryOperation<TKey, TValue>

Namespace:  PostSharp.Patterns.Recording.Operations
Assembly:  PostSharp.Patterns.Model (in PostSharp.Patterns.Model.dll) Version: (
public sealed class ClearDictionaryOperation<TKey, TValue> : DictionaryOperation<TKey, TValue>

Type Parameters

Type of keys.
Type of values.

The ClearDictionaryOperation<TKey, TValue> 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.
(Inherited from DictionaryOperation<TKey, TValue>.)
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 propertyOldEntries
Gets the items that were in the dictionary before it was cleared.
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.)
Public methodVisitAffectedObjects
Executes a given action on all recordable objects involved with the current Operation.
(Inherited from DictionaryOperation<TKey, TValue>.)
Extension Methods
Public Extension MethodQueryInterface<T>
Gets the implementation of a specified interface for the specified object.
(Defined by QueryInterfaceExtensions.)
See Also