C# Class SIL.FieldWorks.FDO.Infrastructure.GenericUndoAction

This is a generic UndoAction, for changes that do not affect actual model data, but which do need to be done, undone, and redone. By inheritance it claims not to be a data change.
Inheritance: SIL.FieldWorks.FDO.Infrastructure.UndoActionBase
Datei anzeigen Open project: sillsdev/FieldWorks

Private Properties

Property Type Description

Public Methods

Method Description
GenericUndoAction ( System.Action whatToDo, System.Action whatToUndo ) : System

Make one (also does the whatToDo action)

Redo ( ) : bool

Redo the original action

Undo ( ) : bool

Undo using the specified action.

Method Details

GenericUndoAction() public method

Make one (also does the whatToDo action)
public GenericUndoAction ( System.Action whatToDo, System.Action whatToUndo ) : System
whatToDo System.Action
whatToUndo System.Action
return System

Redo() public method

Redo the original action
public Redo ( ) : bool
return bool

Undo() public method

Undo using the specified action.
public Undo ( ) : bool
return bool