C# Class Stetic.UndoRedoManager

Inheritance: IDisposable
显示文件 Open project: mono/stetic Class Usage Examples

Private Properties

Property Type Description
AddChange void
ApplyDiff ObjectWrapperUndoRedoChange
CheckValid bool
OnUndoCheckpoint void
PrintPatch void

Public Methods

Method Description
ApplyChange ( ObjectWrapperUndoRedoChange first ) : UndoRedoChange
Dispose ( ) : void
UndoRedoManager ( ) : System

Protected Methods

Method Description
GetDiff ( ObjectWrapper w ) : object

Private Methods

Method Description
AddChange ( ObjectWrapper obs ) : void
ApplyDiff ( string id, object diff ) : ObjectWrapperUndoRedoChange
CheckValid ( ) : bool
OnUndoCheckpoint ( object sender, Stetic.UndoCheckpointEventArgs args ) : void
PrintPatch ( object diff ) : void

Method Details

ApplyChange() public method

public ApplyChange ( ObjectWrapperUndoRedoChange first ) : UndoRedoChange
first ObjectWrapperUndoRedoChange
return UndoRedoChange

Dispose() public method

public Dispose ( ) : void
return void

GetDiff() protected method

protected GetDiff ( ObjectWrapper w ) : object
w ObjectWrapper
return object

UndoRedoManager() public method

public UndoRedoManager ( ) : System
return System