Метод | Описание | |
---|---|---|
AddDirectory ( string name ) : |
||
AddFile ( string name, byte data ) : IFile | ||
AddFile ( string name, string data ) : IFile | ||
AddFile ( |
||
CopyTo ( string path ) : void | ||
Create ( ) : void | ||
Delete ( ) : void | ||
Empty ( ) : void | ||
GetFiles ( string fileSpec ) : List |
||
GetSubDirectories ( string fileSpec ) : List |
||
MockDirectory ( |
Constructs a directory that is relative to the supplied parent
|
|
MockDirectory ( |
||
MockDirectory ( string path ) : System.Collections.Generic |
Constructs a volume root directory
|
Метод | Описание | |
---|---|---|
AssertExists ( ) : void | ||
IsFileNameMatch ( string fileSpec, string fileName ) : bool |
public AddDirectory ( string name ) : |
||
name | string | |
Результат |
public AddFile ( string name, byte data ) : IFile | ||
name | string | |
data | byte | |
Результат | IFile |
public AddFile ( string name, string data ) : IFile | ||
name | string | |
data | string | |
Результат | IFile |
public GetFiles ( string fileSpec ) : List |
||
fileSpec | string | |
Результат | List |
public GetSubDirectories ( string fileSpec ) : List |
||
fileSpec | string | |
Результат | List |
public MockDirectory ( |
||
parent | ||
path | string | |
Результат | System.Collections.Generic |
public MockDirectory ( |
||
parent | ||
path | string | |
exists | bool | |
Результат | System.Collections.Generic |
public MockDirectory ( string path ) : System.Collections.Generic | ||
path | string | |
Результат | System.Collections.Generic |