C# Class Core2D.History.UndoRedo

Undo/redo action pair.
Show file Open project: Core2D/Core2D Class Usage Examples

Public Properties

Property Type Description
Redo System.Action
Undo System.Action

Public Methods

Method Description
Create ( System.Action undo, System.Action redo ) : UndoRedo

Creates a new UndoRedo instance.

UndoRedo ( System.Action undo, System.Action redo ) : System

Initializes a new UndoRedo instance.

Method Details

Create() public static method

Creates a new UndoRedo instance.
public static Create ( System.Action undo, System.Action redo ) : UndoRedo
undo System.Action
redo System.Action
return UndoRedo

UndoRedo() public method

Initializes a new UndoRedo instance.
public UndoRedo ( System.Action undo, System.Action redo ) : System
undo System.Action
redo System.Action
return System

Property Details

Redo public property

The redo Action.
public Action,System Redo
return System.Action

Undo public property

The undo Action.
public Action,System Undo
return System.Action