C# Class NuGet.NullFileSystem

Inheritance: IFileSystem
Exibir arquivo Open project: monoman/NugetCracker

Public Methods

Method Description
AddFile ( string path, Stream stream ) : void
DeleteDirectory ( string path, bool recursive ) : void
DeleteFile ( string path ) : void
DirectoryExists ( string path ) : bool
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

Private Methods

Method Description
NullFileSystem ( ) : System

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

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