C# Class PsGet.Facts.TestDoubles.MockableFileSystem

Inheritance: IFileSystem
Datei anzeigen Open project: anurse/PS-Get

Public Methods

Method Description
DeleteFile ( string fileName ) : void
FileExists ( string fileName ) : bool
GetAllFiles ( ) : IEnumerable
GetFullPath ( string fileName ) : string
OpenFile ( string fileName ) : Stream

Method Details

DeleteFile() public abstract method

public abstract DeleteFile ( string fileName ) : void
fileName string
return void

FileExists() public abstract method

public abstract FileExists ( string fileName ) : bool
fileName string
return bool

GetAllFiles() public abstract method

public abstract GetAllFiles ( ) : IEnumerable
return IEnumerable

GetFullPath() public abstract method

public abstract GetFullPath ( string fileName ) : string
fileName string
return string

OpenFile() public abstract method

public abstract OpenFile ( string fileName ) : Stream
fileName string
return Stream