Open sandboxFocus

Namespace PostSharp.Patterns.Recording

Classes

EditableObjectAttribute

Custom attribute that, when applied to a class, implements the IEditableObject interface in this class.

EditableObjectAttribute.Serializer

NotRecordedAttribute

Custom attribute that, when applied to a field or a property, specifies that it should not be affected by the RecordableAttribute aspect. Therefore, changes to this field or property will not be recorded into a Recorder, and will not be affected by undo/redo operations.

Operation

Base class for all operations. An operation is any change of state that can be appended to a Recorder and therefore be involved in an undo/redo operation.

OperationCollection

Read-only collection of operations (Operation). The class is exposed on the UndoOperations and RedoOperations properties.

OperationFormatter

Base class for all operation formatters, which provide a human-readable description of operations (Operation).

RecordableAttribute

Custom attribute that, when applied to a class, instruments fields and methods of this class so that it can be involved in undo/redo operations.

RecordableAttribute.Serializer

Recorder

Records changes made to an object model and allows you to undo and redo them.

RecorderProvider

Abstract class that represents a node in the chain of responsibility, starting at the RecorderProvider property, whose role is to provide a default Recorder to recordable objects.

RecordingScope

Defines the scope of a logical operation, that is, a set of changes that should be undone or redone as a whole.

RecordingScopeAttribute

Custom attribute that, when applied to a method, defines the characteristics of the RecordingScope that corresponds to the target method.

RecordingServices

Provides global methods for working with the PostSharp.Patterns.Recording namespace.

ReplayContext

Represents the context of an undo or redo operation. The class gives access to system-defined and user-defined pieces of information.

RestorePoint

Represents a point to which operations can be undone or redone. A RestorePoint is a pseudo-Operation that does not represent any change.

Interfaces

IRecordable

Interface implemented by the RecordableAttribute aspect.

IRecordableCallback

Defines callback methods that are invoked when a recordable object is involved in an undo or redo operation.

Enums

MergeStatus

Enumerates the possible return values of the GetMergeStatus(Operation) method.

OperationKind

Enumerates the different kinds of Operation.

RecordingScopeOption

Enumerates the kinds of recording scope.

ReplayKind

Enumerates the kinds of situations in which the OnReplaying(ReplayKind, ReplayContext) or OnReplayed(ReplayKind, ReplayContext) methods are invoked.