C# Class OpenCover.Framework.Persistance.FilePersistance

Simple file persistence of the model
Inheritance: BasePersistance
Afficher le fichier Open project: OpenCover/opencover Class Usage Examples

Méthodes publiques

Méthode Description
Commit ( ) : void

we are done and the data needs one last clean up

FilePersistance ( ICommandLine commandLine, log4net.ILog logger ) : System

Construct a file persistence object

Initialise ( string fileName, bool loadExisting ) : bool

Initialise the file persistence

Private Methods

Méthode Description
HandleFileAccess ( System.Action loadFile, string fileName ) : bool
LoadCoverageFile ( ) : void
SaveCoverageFile ( ) : bool

Method Details

Commit() public méthode

we are done and the data needs one last clean up
public Commit ( ) : void
Résultat void

FilePersistance() public méthode

Construct a file persistence object
public FilePersistance ( ICommandLine commandLine, log4net.ILog logger ) : System
commandLine ICommandLine
logger log4net.ILog
Résultat System

Initialise() public méthode

Initialise the file persistence
public Initialise ( string fileName, bool loadExisting ) : bool
fileName string The filename to save to
loadExisting bool
Résultat bool