Open sandboxFocus

Namespace PostSharp.Patterns.Recording

Classes

EditableObjectAttribute

Custom attribute that, when applied to a class, implements IEditableObject into this class.

EditableObjectAttribute.Serializer

NotRecordedAttribute

Custom attribute that, when applied to field or 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 be therefore 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 changed done on an object model and allow 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 a logical operation, that is, a set of change 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 to work 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

Enumeration of possible return values for the GetMergeStatus(Operation) method.

OperationKind

Enumeration of different kinds of Operation

RecordingScopeOption

Enumerates the kinds of recording scope.

ReplayKind

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