C# Class Praeclarum.App.Document

Inheritance: INotifyPropertyChanged
Show file Open project: praeclarum/Praeclarum

Public Methods

Method Description
Commit ( string message ) : void
Document ( ) : System
InitializeUndo ( ) : void
OnPropertyChanged ( string name ) : void
Open ( string path ) : void
Open ( string path, TextReader reader ) : void
Redo ( ) : void
Save ( ) : void
Save ( TextWriter writer ) : void
Save ( string path ) : void
Undo ( ) : void

Protected Methods

Method Description
GetState ( ) : string
RestoreState ( string state ) : void

Method Details

Commit() public method

public Commit ( string message ) : void
message string
return void

Document() public method

public Document ( ) : System
return System

GetState() protected abstract method

protected abstract GetState ( ) : string
return string

InitializeUndo() public method

public InitializeUndo ( ) : void
return void

OnPropertyChanged() public method

public OnPropertyChanged ( string name ) : void
name string
return void

Open() public method

public Open ( string path ) : void
path string
return void

Open() public method

public Open ( string path, TextReader reader ) : void
path string
reader TextReader
return void

Redo() public method

public Redo ( ) : void
return void

RestoreState() protected abstract method

protected abstract RestoreState ( string state ) : void
state string
return void

Save() public method

public Save ( ) : void
return void

Save() public method

public Save ( TextWriter writer ) : void
writer System.IO.TextWriter
return void

Save() public method

public Save ( string path ) : void
path string
return void

Undo() public method

public Undo ( ) : void
return void