PostSharp4.3/API Reference/Post­Sharp.​Patterns.​Model.​Controls Namespace/Undo­Redo­Command­Base Class
UndoRedoCommandBase Class
Base class for UndoCommand and RedoCommand.
Inheritance Hierarchy
System.Object
  PostSharp.Patterns.Model.Controls.UndoRedoCommandBase
    PostSharp.Patterns.Model.Controls.RedoCommand
    PostSharp.Patterns.Model.Controls.UndoCommand

Namespace: PostSharp.Patterns.Model.Controls
Assembly: PostSharp.Patterns.Model.Controls (in PostSharp.Patterns.Model.Controls.dll) Version: 4.3.48.0 (4.3.48.0)
Syntax
C#
public abstract class UndoRedoCommandBase : ICommand

The UndoRedoCommandBase type exposes the following members.

Properties
  NameDescription
Public propertyRecorder
Gets the Recorder bound to this command.
Methods
  NameDescription
Public methodCanExecute
Defines the method that determines whether the command can execute in its current state.
Public methodExecute
Defines the method to be called when the command is invoked.
Events
  NameDescription
Public eventCanExecuteChanged
Occurs when changes occur that affect whether or not the command should execute.
Extension Methods
  NameDescription
Public Extension MethodQueryInterface<T>
Gets the implementation of a specified interface for the specified object.
(Defined by QueryInterfaceExtensions.)
See Also