NanoByte.Common
Protected Member Functions | List of all members
NanoByte.Common.Undo.PreExecutedCommand Class Reference

An undo command that does nothing on the first IUndoCommand.Execute call, because the action was already performed beforehand More...

Inheritance diagram for NanoByte.Common.Undo.PreExecutedCommand:
NanoByte.Common.Undo.FirstExecuteCommand NanoByte.Common.Undo.IUndoCommand NanoByte.Common.Undo.MultiPropertyChangedCommand NanoByte.Common.Undo.PreExecutedCompositeCommand NanoByte.Common.Undo.PropertyChangedCommand

Protected Member Functions

sealed override void OnFirstExecute ()
 Do nothing on first execute. More...
 
- Protected Member Functions inherited from NanoByte.Common.Undo.FirstExecuteCommand
abstract void OnRedo ()
 Template method to perform the desired action again. More...
 
abstract void OnUndo ()
 Template method to undo the changes made by OnFirstExecute or OnRedo. More...
 

Additional Inherited Members

- Public Member Functions inherited from NanoByte.Common.Undo.FirstExecuteCommand
void Execute ()
 Performs the desired action. More...
 
virtual void Undo ()
 Undoes the changes made by Execute. More...
 

Detailed Description

An undo command that does nothing on the first IUndoCommand.Execute call, because the action was already performed beforehand

Member Function Documentation

◆ OnFirstExecute()

sealed override void NanoByte.Common.Undo.PreExecutedCommand.OnFirstExecute ( )
inlineprotectedvirtual

Do nothing on first execute.

Implements NanoByte.Common.Undo.FirstExecuteCommand.


The documentation for this class was generated from the following file: