Recorder Class |
Namespace: PostSharp.Patterns.Recording
Assembly: PostSharp.Patterns.Model (in PostSharp.Patterns.Model.dll) Version: 2023.0.3.0 (2023.0.3.0)
public sealed class Recorder : INotifyPropertyChanged
The Recorder type exposes the following members.
Name | Description | |
---|---|---|
Recorder() |
Initializes a new instance of the Recorder class.
| |
Recorder(Object) |
Initializes a new instance of the Recorder class and attaches it to a given object.
|
Name | Description | |
---|---|---|
CanAddRestorePoint |
Determines if the AddRestorePoint(String) method can be invoked.
| |
CanRedo |
Determines if the Redo() method can be invoked.
| |
CanUndo |
Determines if the Undo() method can be invoked.
| |
MaximumOperationsCount |
Gets the maximum number of operations in the UndoOperations and RedoOperations collections.
These collections are automatically trimmed so that their size never exceeds MaximumOperationsCount.
| |
RedoOperations |
Gets the collection of operations that can be redone using the Redo() method.
| |
UndoOperations |
Gets the collection of operations that can be undone using the Undo() method.
|
Name | Description | |
---|---|---|
AddOperation | ||
AddRestorePoint |
Adds new restore point with given name.
| |
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.
| |
Clear |
Clears undo and redo lists.
| |
Detach |
Detaches a recordable object from the current Recorder, so that changes in
this objects stop being recorded into the current Recorder.
| |
OpenScope(RecordingScopeOption) |
Opens an unnamed RecordingScope.
| |
OpenScope(String, RecordingScopeOption) |
Opens a RecordingScope with a given name.
| |
Redo |
Redo last operation.
| |
RedoTo |
redo all operation to specific operation.
| |
Undo |
Undo last operation.
| |
UndoTo |
Undo all operations to specific Operation or RestorePoint.
|
Name | Description | |
---|---|---|
ChildPropertyChanged |
Event raised after the property of a child object has been changed.
| |
ChildPropertyChanging |
Event raised before the property of a child object is changed.
| |
PropertyChanged |
Event raised when the value of a property of the current object changes.
|