C# Class CitizenMatt.ReSharper.ExtensionManager.Tests.Implementation.FakeFileSystem

Inheritance: IFileSystem
显示文件 Open project: citizenmatt/ReSharperExtensionManager Class Usage Examples

Public Methods

Method Description
AddFile ( string path, Stream stream ) : void
DeleteDirectory ( string path, bool recursive ) : void
DeleteFile ( string path ) : void
DirectoryExists ( string path ) : bool
FakeFileSystem ( string root ) : System
FileExists ( string path ) : bool
GetCreated ( string path ) : DateTimeOffset
GetDirectories ( string path ) : IEnumerable
GetFiles ( string path ) : IEnumerable
GetFiles ( string path, string filter ) : IEnumerable
GetFullPath ( string path ) : string
GetLastModified ( string path ) : DateTimeOffset
OpenFile ( string path ) : Stream

Method Details

AddFile() public method

public AddFile ( string path, Stream stream ) : void
path string
stream Stream
return void

DeleteDirectory() public method

public DeleteDirectory ( string path, bool recursive ) : void
path string
recursive bool
return void

DeleteFile() public method

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

DirectoryExists() public method

public DirectoryExists ( string path ) : bool
path string
return bool

FakeFileSystem() public method

public FakeFileSystem ( string root ) : System
root string
return System

FileExists() public method

public FileExists ( string path ) : bool
path string
return bool

GetCreated() public method

public GetCreated ( string path ) : DateTimeOffset
path string
return DateTimeOffset

GetDirectories() public method

public GetDirectories ( string path ) : IEnumerable
path string
return IEnumerable

GetFiles() public method

public GetFiles ( string path ) : IEnumerable
path string
return IEnumerable

GetFiles() public method

public GetFiles ( string path, string filter ) : IEnumerable
path string
filter string
return IEnumerable

GetFullPath() public method

public GetFullPath ( string path ) : string
path string
return string

GetLastModified() public method

public GetLastModified ( string path ) : DateTimeOffset
path string
return DateTimeOffset

OpenFile() public method

public OpenFile ( string path ) : Stream
path string
return Stream