C# Класс OpenCover.Framework.Persistance.FilePersistance

Simple file persistence of the model
Наследование: BasePersistance
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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

Приватные методы

Метод Описание
HandleFileAccess ( System.Action loadFile, string fileName ) : bool
LoadCoverageFile ( ) : void
SaveCoverageFile ( ) : bool

Описание методов

Commit() публичный Метод

we are done and the data needs one last clean up
public Commit ( ) : void
Результат void

FilePersistance() публичный Метод

Construct a file persistence object
public FilePersistance ( ICommandLine commandLine, log4net.ILog logger ) : System
commandLine ICommandLine
logger log4net.ILog
Результат System

Initialise() публичный Метод

Initialise the file persistence
public Initialise ( string fileName, bool loadExisting ) : bool
fileName string The filename to save to
loadExisting bool
Результат bool