Method | Description | |
---|---|---|
AddFile ( string path ) : void | ||
AddFile ( string path, Func |
||
AddFile ( string path, Stream stream ) : void | ||
AddFile ( string path, string content ) : void | ||
CreateDirectory ( string path ) : void | ||
DeleteDirectory ( string path, bool recursive = false ) : 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 | ||
MockFileSystem ( string appDirectory ) : System | ||
MoveFile ( string sourcePath, string destinationPath ) : void | ||
OpenFile ( string path ) : Stream | ||
ReadAllText ( string path ) : string |
Method | Description | |
---|---|---|
GetFilterRegex ( string wildcard ) : |
||
GetPattern ( string token ) : string | ||
IndexOfAll ( string value, char ch ) : IEnumerable |
||
InternalGetDirectories ( string path ) : IEnumerable |
public AddFile ( string path, Func |
||
path | string | |
getStream | Func |
|
return | void |
public AddFile ( string path, Stream stream ) : void | ||
path | string | |
stream | Stream | |
return | void |
public AddFile ( string path, string content ) : void | ||
path | string | |
content | string | |
return | void |
public CreateDirectory ( string path ) : void | ||
path | string | |
return | void |
public DeleteDirectory ( string path, bool recursive = false ) : void | ||
path | string | |
recursive | bool | |
return | void |
public DirectoryExists ( string path ) : bool | ||
path | string | |
return | bool |
public GetCreated ( string path ) : DateTimeOffset | ||
path | string | |
return | DateTimeOffset |
public GetDirectories ( string path ) : IEnumerable |
||
path | string | |
return | IEnumerable |
public GetFiles ( string path ) : IEnumerable |
||
path | string | |
return | IEnumerable |
public GetFiles ( string path, string filter ) : IEnumerable |
||
path | string | |
filter | string | |
return | IEnumerable |
public GetLastModified ( string path ) : DateTimeOffset | ||
path | string | |
return | DateTimeOffset |
public MockFileSystem ( string appDirectory ) : System | ||
appDirectory | string | |
return | System |
public MoveFile ( string sourcePath, string destinationPath ) : void | ||
sourcePath | string | |
destinationPath | string | |
return | void |