Constructors

Action

#
protected Action(
response
)

Action

#
protected Action(
reader
)

Properties

Response

#
Gets the automatic response required by this action.
public Effects Response { get; }

State

#
Gets the state this action is in.
public State State { get; }

Methods

Extends

#
Override this method to indicate this action extends another action, and can thus be dropped from a sequence of actions.
public virtual bool Extends(
action
)

PerformRedo

#
Redo this action. This is only allowed if the State equals State.Redo.
public bool PerformRedo()

PerformRedoInternal

#
protected abstract void PerformRedoInternal()

PerformUndo

#
Undo this action. This is only allowed if the State equals State.Undo.
public bool PerformUndo()

PerformUndoInternal

#
protected abstract void PerformUndoInternal()

PrepareRedo

#
Run the preperatory work for a redo operation. The PerformRedo(Document) method ought never be called without a preceding call to PrepareRedo(Document), although note that a call to PrepareRedo(Document) is not necessarily followed by a call to PerformRedo(Document).
public bool PrepareRedo()

PrepareRedoInternal

#
protected virtual void PrepareRedoInternal()

PrepareUndo

#
Run the preperatory work for an undo operation. The PerformUndo(Document) method ought never be called without a preceding call to PrepareUndo(Document), although note that a call to PrepareUndo(Document) is not necessarily followed by a call to PerformUndo(Document).
public bool PrepareUndo()

PrepareUndoInternal

#
protected virtual void PrepareUndoInternal()

Store

#
public virtual void Store(
writer
)
Store