Метод | Описание | |
---|---|---|
AddFile ( string path, Stream stream ) : void | ||
DeleteDirectory ( string path ) : 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, bool recursive ) : IEnumerable |
||
GetFiles ( string path, string filter, bool recursive ) : IEnumerable |
||
GetFullPath ( string path ) : string | ||
GetLastAccessed ( string path ) : DateTimeOffset | ||
GetLastModified ( string path ) : DateTimeOffset | ||
OpenFile ( string path ) : Stream | ||
PhysicalFileSystem ( string root ) : System |
Метод | Описание | |
---|---|---|
EnsureDirectory ( string path ) : void | ||
MakeRelativePath ( string fullPath ) : string |
Метод | Описание | |
---|---|---|
EnsureTrailingSlash ( string path ) : string | ||
WriteAddedFileAndDirectory ( string path ) : void |
public AddFile ( string path, Stream stream ) : void | ||
path | string | |
stream | Stream | |
Результат | void |
public DeleteDirectory ( string path ) : void | ||
path | string | |
Результат | void |
public DeleteDirectory ( string path, bool recursive ) : void | ||
path | string | |
recursive | bool | |
Результат | void |
public DirectoryExists ( string path ) : bool | ||
path | string | |
Результат | bool |
protected EnsureDirectory ( string path ) : void | ||
path | string | |
Результат | void |
public GetCreated ( string path ) : DateTimeOffset | ||
path | string | |
Результат | DateTimeOffset |
public GetDirectories ( string path ) : IEnumerable |
||
path | string | |
Результат | IEnumerable |
public GetFiles ( string path, bool recursive ) : IEnumerable |
||
path | string | |
recursive | bool | |
Результат | IEnumerable |
public GetFiles ( string path, string filter, bool recursive ) : IEnumerable |
||
path | string | |
filter | string | |
recursive | bool | |
Результат | IEnumerable |
public GetFullPath ( string path ) : string | ||
path | string | |
Результат | string |
public GetLastAccessed ( string path ) : DateTimeOffset | ||
path | string | |
Результат | DateTimeOffset |
public GetLastModified ( string path ) : DateTimeOffset | ||
path | string | |
Результат | DateTimeOffset |
protected MakeRelativePath ( string fullPath ) : string | ||
fullPath | string | |
Результат | string |
public PhysicalFileSystem ( string root ) : System | ||
root | string | |
Результат | System |