This is the online documentation for PostSharp 5.0.
Download PDF or CHM. Go to v4.3 or v5.0

DictionaryOperation<TKey, TValue> Class

Base class for operations on an AdvisableDictionary<TKey, TValue>.
Inheritance Hierarchy

Namespace:  PostSharp.Patterns.Recording.Operations
Assembly:  PostSharp.Patterns.Model (in PostSharp.Patterns.Model.dll) Version: 5.0.33.0 (5.0.33.0)
Syntax
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.

Properties
  NameDescription
Public propertyDictionary
Gets the collection on which the operation was performed.
Public propertyKey
Gets the key of the dictionary entry affected by the operation.
Public propertyName
Gets the operation name.
(Inherited from Operation.)
Public propertyNewValue
Gets the value of the dictionary entry after the operation.
Public propertyOldValue
Gets the value of the dictionary entry before the operation.
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.
(Inherited from Operation.)
Top
Methods
  NameDescription
Protected methodGetMergeStatus
Determines how a given Operation can be merged with the current Operation.
(Inherited from Operation.)
Protected methodMerge
Merges a given Operation into the current Operation.
(Inherited from Operation.)
Protected methodRedo
Redo the current operation.
(Inherited from Operation.)
Protected methodUndo
Undo the current operation.
(Inherited from Operation.)
Public methodVisitAffectedObjects
Executes a given action on all recordable objects involved with the current Operation.
(Overrides Operation.VisitAffectedObjects(Action<Object>).)
Top
Extension Methods
  NameDescription
Public Extension MethodQueryInterface<T>
Gets the implementation of a specified interface for the specified object.
(Defined by QueryInterfaceExtensions.)
Top
See Also