C# Class Simulated._Fs._UndoWithChangeTracking

Inheritance: Simulated._Fs._Undo
Show file Open project: arlobelshee/SimulatableApi Class Usage Examples

Public Methods

Method Description
CommitAll ( ) : Task
CreateDir ( FsPath path ) : Task
DeleteDir ( FsPath path ) : Task
Overwrite ( FsPath path, byte newContents ) : Task
Overwrite ( FsPath path, string newContents ) : Task
RevertAll ( ) : Task
_UndoWithChangeTracking ( [ next ) : System

Private Methods

Method Description
_AddUndoStep ( [ undo ) : void
_AllMissingDirectoriesInPathFromBottomUp ( [ path ) : IEnumerable
_EnsureDirExists ( [ cacheLocation ) : Task
_EnsureUndoDataCacheIsGone ( ) : Task
_Overwrote ( [ path ) : Task
_RestoreFileFromCache ( [ path, [ randomFileName ) : Task

Method Details

CommitAll() public method

public CommitAll ( ) : Task
return Task

CreateDir() public method

public CreateDir ( FsPath path ) : Task
path FsPath
return Task

DeleteDir() public method

public DeleteDir ( FsPath path ) : Task
path FsPath
return Task

Overwrite() public method

public Overwrite ( FsPath path, byte newContents ) : Task
path FsPath
newContents byte
return Task

Overwrite() public method

public Overwrite ( FsPath path, string newContents ) : Task
path FsPath
newContents string
return Task

RevertAll() public method

public RevertAll ( ) : Task
return Task

_UndoWithChangeTracking() public method

public _UndoWithChangeTracking ( [ next ) : System
next [
return System