C# Class MapAround.UI.WinForms.History

Represents a history of edit actions.
显示文件 Open project: gkrsu/maparound.core

Public Methods

Method Description
Clear ( ) : void

Clears history.

Redo ( IGeometry g ) : IGeometry

Redo an action.

Undo ( IGeometry g ) : IGeometry

Undo an action.

Private Methods

Method Description
DoAction ( HistoryEntry entry, IGeometry g ) : IGeometry

Method Details

Clear() public method

Clears history.
public Clear ( ) : void
return void

Redo() public method

Redo an action.
public Redo ( IGeometry g ) : IGeometry
g IGeometry A MapAround.Geometry.IGeometry instance for redoing an action
return IGeometry

Undo() public method

Undo an action.
public Undo ( IGeometry g ) : IGeometry
g IGeometry A MapAround.Geometry.IGeometry instance for undoing an action
return IGeometry