Skip to main content

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

ServiceStack.IO.IVirtualFile

Parameters
TypeName
System.StringvirtualPath

GetFile(Stack<String>)

View Source
Declaration
IVirtualFile GetFile(Stack<string> virtualPath)
Returns

ServiceStack.IO.IVirtualFile

Parameters
TypeName
System.Collections.Generic.Stack<System.String>virtualPath

GetDirectory(String)

View Source
Declaration
IVirtualDirectory GetDirectory(string virtualPath)
Returns

ServiceStack.IO.IVirtualDirectory

Parameters
TypeName
System.StringvirtualPath

GetDirectory(Stack<String>)

View Source
Declaration
IVirtualDirectory GetDirectory(Stack<string> virtualPath)
Returns

ServiceStack.IO.IVirtualDirectory

Parameters
TypeName
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
TypeName
System.StringglobPattern
System.Int32maxDepth