Свойство | Тип | Описание | |
---|---|---|---|
dirs | List |
||
files | List |
Метод | Описание | |
---|---|---|
AddFile ( string filePath, string contents ) : void | ||
EnumerateFiles ( string pattern ) : IEnumerable |
||
GetEnumerator ( ) : IEnumerator |
||
GetFile ( string virtualPath ) : IVirtualFile | ||
InMemoryVirtualDirectory ( IVirtualPathProvider owningProvider ) : System | ||
InMemoryVirtualDirectory ( IVirtualPathProvider owningProvider, IVirtualDirectory parentDirectory ) : System |
Метод | Описание | |
---|---|---|
GetDirectoryFromBackingDirectoryOrDefault ( string directoryName ) : IVirtualDirectory | ||
GetFileFromBackingDirectoryOrDefault ( string fileName ) : IVirtualFile | ||
GetMatchingFilesInDir ( string globPattern ) : IEnumerable |
public AddFile ( string filePath, string contents ) : void | ||
filePath | string | |
contents | string | |
Результат | void |
public EnumerateFiles ( string pattern ) : IEnumerable |
||
pattern | string | |
Результат | IEnumerable |
protected GetDirectoryFromBackingDirectoryOrDefault ( string directoryName ) : IVirtualDirectory | ||
directoryName | string | |
Результат | IVirtualDirectory |
public GetFile ( string virtualPath ) : IVirtualFile | ||
virtualPath | string | |
Результат | IVirtualFile |
protected GetFileFromBackingDirectoryOrDefault ( string fileName ) : IVirtualFile | ||
fileName | string | |
Результат | IVirtualFile |
protected GetMatchingFilesInDir ( string globPattern ) : IEnumerable |
||
globPattern | string | |
Результат | IEnumerable |
public InMemoryVirtualDirectory ( IVirtualPathProvider owningProvider ) : System | ||
owningProvider | IVirtualPathProvider | |
Результат | System |
public InMemoryVirtualDirectory ( IVirtualPathProvider owningProvider, IVirtualDirectory parentDirectory ) : System | ||
owningProvider | IVirtualPathProvider | |
parentDirectory | IVirtualDirectory | |
Результат | System |