C# Class NuGet.FileSystemWrapper

Inheritance: IExtendedFileSystem
Exibir arquivo Open project: grendello/nuget

Public Methods

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

Private Methods

Method Description
IFileSystem ( string path ) : DateTimeOffset

Method Details

AddFile() public method

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

CreateFile() public method

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

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

GetCurrentDirectory() public method

public GetCurrentDirectory ( ) : string
return string

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 ) : System.DateTime
path string
return System.DateTime

OpenFile() public method

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