PostSharpAPI ReferencePost­Sharp.​Patterns.​Model.​ControlsUndo­CommandUndo­Command
Open sandboxFocus

UndoCommand Constructor

UndoCommand()

Initializes a new instance of the UndoCommand class and binds it to the DefaultRecorder.

Declaration
public UndoCommand()

UndoCommand(Recorder)

Initializes a new instance of the UndoCommand class and specifies to which Recorder it should be bound.

Declaration
public UndoCommand(Recorder recorder)
Parameters
Type Name Description
Recorder recorder

The Recorder to which the new UndoCommand should be bound.