C# Класс NuGet.FileSystemWrapper

Наследование: IExtendedFileSystem
Показать файл Открыть проект

Открытые методы

Метод Описание
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

Приватные методы

Метод Описание
IFileSystem ( string path ) : DateTimeOffset

Описание методов

AddFile() публичный Метод

public AddFile ( string path, Stream stream ) : void
path string
stream Stream
Результат void

CreateFile() публичный Метод

public CreateFile ( string path ) : Stream
path string
Результат Stream

DeleteDirectory() публичный Метод

public DeleteDirectory ( string path, bool recursive ) : void
path string
recursive bool
Результат void

DeleteFile() публичный Метод

public DeleteFile ( string path ) : void
path string
Результат void

DirectoryExists() публичный Метод

public DirectoryExists ( string path ) : bool
path string
Результат bool

FileExists() публичный Метод

public FileExists ( string path ) : bool
path string
Результат bool

GetCreated() публичный Метод

public GetCreated ( string path ) : DateTimeOffset
path string
Результат DateTimeOffset

GetCurrentDirectory() публичный Метод

public GetCurrentDirectory ( ) : string
Результат string

GetDirectories() публичный Метод

public GetDirectories ( string path ) : IEnumerable
path string
Результат IEnumerable

GetFiles() публичный Метод

public GetFiles ( string path ) : IEnumerable
path string
Результат IEnumerable

GetFiles() публичный Метод

public GetFiles ( string path, string filter ) : IEnumerable
path string
filter string
Результат IEnumerable

GetFullPath() публичный Метод

public GetFullPath ( string path ) : string
path string
Результат string

GetLastModified() публичный Метод

public GetLastModified ( string path ) : System.DateTime
path string
Результат System.DateTime

OpenFile() публичный Метод

public OpenFile ( string path ) : Stream
path string
Результат Stream