Property | Type | Description | |
---|---|---|---|
dirs | List |
||
files | List |
Method | Description | |
---|---|---|
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 |
Method | Description | |
---|---|---|
GetDirectoryFromBackingDirectoryOrDefault ( string directoryName ) : IVirtualDirectory | ||
GetFileFromBackingDirectoryOrDefault ( string fileName ) : IVirtualFile | ||
GetMatchingFilesInDir ( string globPattern ) : IEnumerable |
public AddFile ( string filePath, string contents ) : void | ||
filePath | string | |
contents | string | |
return | void |
public EnumerateFiles ( string pattern ) : IEnumerable |
||
pattern | string | |
return | IEnumerable |
protected GetDirectoryFromBackingDirectoryOrDefault ( string directoryName ) : IVirtualDirectory | ||
directoryName | string | |
return | IVirtualDirectory |
public GetFile ( string virtualPath ) : IVirtualFile | ||
virtualPath | string | |
return | IVirtualFile |
protected GetFileFromBackingDirectoryOrDefault ( string fileName ) : IVirtualFile | ||
fileName | string | |
return | IVirtualFile |
protected GetMatchingFilesInDir ( string globPattern ) : IEnumerable |
||
globPattern | string | |
return | IEnumerable |
public InMemoryVirtualDirectory ( IVirtualPathProvider owningProvider ) : System | ||
owningProvider | IVirtualPathProvider | |
return | System |
public InMemoryVirtualDirectory ( IVirtualPathProvider owningProvider, IVirtualDirectory parentDirectory ) : System | ||
owningProvider | IVirtualPathProvider | |
parentDirectory | IVirtualDirectory | |
return | System |