CommandPattern 1.0.0
This package contains a collection of classes and interfaces to allow for quick and consistent implementation of the command pattern across projects.
All Classes Namespaces Functions Variables Enumerations Enumerator Properties Events
Public Member Functions | List of all members
SadSapphicGames.CommandPattern.IUndoable Interface Reference

Indicates a command can be undone More...

Inheritance diagram for SadSapphicGames.CommandPattern.IUndoable:
SadSapphicGames.CommandPattern.NullCommand SadSapphicGames.CommandPattern.NullCompositeCommand

Public Member Functions

ICommand GetUndoCommand ()
 Creates a command to revert the changes of the implementing command More...
 

Detailed Description

Indicates a command can be undone

Member Function Documentation

◆ GetUndoCommand()

ICommand SadSapphicGames.CommandPattern.IUndoable.GetUndoCommand ( )

Creates a command to revert the changes of the implementing command

Returns
a command that reverts the implementing command

Implemented in SadSapphicGames.CommandPattern.NullCommand, and SadSapphicGames.CommandPattern.NullCompositeCommand.


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