PostSharp 4.3 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Patterns.​Recording Namespace / Recorder Class / Recorder Methods
Recorder Methods

The Recorder type exposes the following members.

Methods
  Name Description
Public method AddOperation
Adds a new Operation to UndoOperations collection of the current Recorder.
Public method AddRestorePoint
Adds new restore point with given name.
Public method Attach
Attaches a recordable object (including its descendant objects) to the current Recorder so that changes in this objects start being recorded into the current Recorder.
Public method Clear
Clears undo and redo lists.
Public method Detach
Detaches a recordable object from the current Recorder, so that changes in this objects stop being recorded into the current Recorder.
Public method OpenScope(RecordingScopeOption)
Opens an unnamed RecordingScope.
Public method OpenScope(String, RecordingScopeOption)
Opens a RecordingScope with a given name.
Public method Redo
Redo last operation.
Public method RedoTo
redo all operation to specific operation.
Public method Undo
Undo last operation.
Public method UndoTo
Undo all operations to specific Operation or RestorePoint.
Extension Methods
  Name Description
Public Extension Method QueryInterface<T>
Gets the implementation of a specified interface for the specified object.
(Defined by QueryInterfaceExtensions.)
See Also