C# Class bs.Editor.UndoableCommand

Base class for implementation of commands that can be recorded in the UndoRedo system.
Inheritance: ScriptObject
Afficher le fichier Open project: ValtoGameEngines/Banshee-Engine Class Usage Examples

Méthodes publiques

Méthode Description
UndoableCommand ( ) : System

Méthodes protégées

Méthode Description
Commit ( ) : void

Applies the command, committing the change.

Revert ( ) : void

Reverts the command, reverting the change previously done with Commit.

Private Methods

Méthode Description
Internal_CreateInstance ( UndoableCommand instance ) : void

Method Details

Commit() protected abstract méthode

Applies the command, committing the change.
protected abstract Commit ( ) : void
Résultat void

Revert() protected abstract méthode

Reverts the command, reverting the change previously done with Commit.
protected abstract Revert ( ) : void
Résultat void

UndoableCommand() public méthode

public UndoableCommand ( ) : System
Résultat System