Свойство | Type | Description | |
---|---|---|---|
dirs | List |
||
files | List |
Méthode | 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 |
Méthode | Description | |
---|---|---|
GetDirectoryFromBackingDirectoryOrDefault ( string directoryName ) : IVirtualDirectory | ||
GetFileFromBackingDirectoryOrDefault ( string fileName ) : IVirtualFile | ||
GetMatchingFilesInDir ( string globPattern ) : IEnumerable |
public AddFile ( string filePath, string contents ) : void | ||
filePath | string | |
contents | string | |
Résultat | void |
public EnumerateFiles ( string pattern ) : IEnumerable |
||
pattern | string | |
Résultat | IEnumerable |
protected GetDirectoryFromBackingDirectoryOrDefault ( string directoryName ) : IVirtualDirectory | ||
directoryName | string | |
Résultat | IVirtualDirectory |
public GetFile ( string virtualPath ) : IVirtualFile | ||
virtualPath | string | |
Résultat | IVirtualFile |
protected GetFileFromBackingDirectoryOrDefault ( string fileName ) : IVirtualFile | ||
fileName | string | |
Résultat | IVirtualFile |
protected GetMatchingFilesInDir ( string globPattern ) : IEnumerable |
||
globPattern | string | |
Résultat | IEnumerable |
public InMemoryVirtualDirectory ( IVirtualPathProvider owningProvider ) : System | ||
owningProvider | IVirtualPathProvider | |
Résultat | System |
public InMemoryVirtualDirectory ( IVirtualPathProvider owningProvider, IVirtualDirectory parentDirectory ) : System | ||
owningProvider | IVirtualPathProvider | |
parentDirectory | IVirtualDirectory | |
Résultat | System |