IVirtualDirectory
Assembly: ServiceStack.Interfaces.dll
View Source
Declaration
public interface IVirtualDirectory : IVirtualNode, IEnumerable<IVirtualNode>, IEnumerable
Properties
IsRoot
View Source
Declaration
bool IsRoot { get; }
ParentDirectory
View Source
Declaration
IVirtualDirectory ParentDirectory { get; }
Files
View Source
Declaration
IEnumerable<IVirtualFile> Files { get; }
Directories
View Source
Declaration
IEnumerable<IVirtualDirectory> Directories { get; }
Methods
GetFile(String)
View Source
Declaration
IVirtualFile GetFile(string virtualPath)
Returns
Parameters
Type | Name |
---|---|
System.String | virtualPath |
GetFile(Stack<String>)
View Source
Declaration
IVirtualFile GetFile(Stack<string> virtualPath)
Returns
Parameters
Type | Name |
---|---|
System.Collections.Generic.Stack<System.String> | virtualPath |
GetDirectory(String)
View Source
Declaration
IVirtualDirectory GetDirectory(string virtualPath)
Returns
ServiceStack.IO.IVirtualDirectory
Parameters
Type | Name |
---|---|
System.String | virtualPath |
GetDirectory(Stack<String>)
View Source
Declaration
IVirtualDirectory GetDirectory(Stack<string> virtualPath)
Returns
ServiceStack.IO.IVirtualDirectory
Parameters
Type | Name |
---|---|
System.Collections.Generic.Stack<System.String> | virtualPath |
GetAllMatchingFiles(String, Int32)
View Source
Declaration
IEnumerable<IVirtualFile> GetAllMatchingFiles(string globPattern, int maxDepth = 2147483647)
Returns
System.Collections.Generic.IEnumerable<ServiceStack.IO.IVirtualFile>
Parameters
Type | Name |
---|---|
System.String | globPattern |
System.Int32 | maxDepth |