C# Class NuGet.FileSystemWrapper

Inheritance: IExtendedFileSystem
Afficher le fichier Open project: grendello/nuget

Méthodes publiques

Méthode 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

Méthode Description
IFileSystem ( string path ) : DateTimeOffset

Method Details

AddFile() public méthode

public AddFile ( string path, Stream stream ) : void
path string
stream Stream
Résultat void

CreateFile() public méthode

public CreateFile ( string path ) : Stream
path string
Résultat Stream

DeleteDirectory() public méthode

public DeleteDirectory ( string path, bool recursive ) : void
path string
recursive bool
Résultat void

DeleteFile() public méthode

public DeleteFile ( string path ) : void
path string
Résultat void

DirectoryExists() public méthode

public DirectoryExists ( string path ) : bool
path string
Résultat bool

FileExists() public méthode

public FileExists ( string path ) : bool
path string
Résultat bool

GetCreated() public méthode

public GetCreated ( string path ) : DateTimeOffset
path string
Résultat DateTimeOffset

GetCurrentDirectory() public méthode

public GetCurrentDirectory ( ) : string
Résultat string

GetDirectories() public méthode

public GetDirectories ( string path ) : IEnumerable
path string
Résultat IEnumerable

GetFiles() public méthode

public GetFiles ( string path ) : IEnumerable
path string
Résultat IEnumerable

GetFiles() public méthode

public GetFiles ( string path, string filter ) : IEnumerable
path string
filter string
Résultat IEnumerable

GetFullPath() public méthode

public GetFullPath ( string path ) : string
path string
Résultat string

GetLastModified() public méthode

public GetLastModified ( string path ) : System.DateTime
path string
Résultat System.DateTime

OpenFile() public méthode

public OpenFile ( string path ) : Stream
path string
Résultat Stream