Skip to main content

MultiVirtualDirectory

Assembly: ServiceStack.Common.dll
View Source
Declaration
public class MultiVirtualDirectory : IVirtualDirectory, IVirtualNode, IEnumerable<IVirtualNode>, IEnumerable

Properties

Directory

View Source
Declaration
public IVirtualDirectory Directory { get; }

Name

View Source
Declaration
public string Name { get; }

VirtualPath

View Source
Declaration
public string VirtualPath { get; }

RealPath

View Source
Declaration
public string RealPath { get; }

IsDirectory

View Source
Declaration
public bool IsDirectory { get; }

LastModified

View Source
Declaration
public DateTime LastModified { get; }

IsRoot

View Source
Declaration
public bool IsRoot { get; }

ParentDirectory

View Source
Declaration
public IVirtualDirectory ParentDirectory { get; }

Files

View Source
Declaration
public IEnumerable<IVirtualFile> Files { get; }

Directories

View Source
Declaration
public IEnumerable<IVirtualDirectory> Directories { get; }

Methods

ToVirtualDirectory(IEnumerable<IVirtualDirectory>)

View Source
Declaration
public static IVirtualDirectory ToVirtualDirectory(IEnumerable<IVirtualDirectory> dirs)
Returns

ServiceStack.IO.IVirtualDirectory

Parameters
TypeName
System.Collections.Generic.IEnumerable<ServiceStack.IO.IVirtualDirectory>dirs

GetEnumerator()

View Source
Declaration
public IEnumerator<IVirtualNode> GetEnumerator()
Returns

System.Collections.Generic.IEnumerator<ServiceStack.IO.IVirtualNode>

IEnumerable.GetEnumerator()

View Source
Declaration
IEnumerator IEnumerable.GetEnumerator()
Returns

System.Collections.IEnumerator

GetFile(String)

View Source
Declaration
public IVirtualFile GetFile(string virtualPath)
Returns

ServiceStack.IO.IVirtualFile

Parameters
TypeName
System.StringvirtualPath

GetFile(Stack<String>)

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

ServiceStack.IO.IVirtualFile

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

GetDirectory(String)

View Source
Declaration
public IVirtualDirectory GetDirectory(string virtualPath)
Returns

ServiceStack.IO.IVirtualDirectory

Parameters
TypeName
System.StringvirtualPath

GetDirectory(Stack<String>)

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

ServiceStack.IO.IVirtualDirectory

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

GetAllMatchingFiles(String, Int32)

View Source
Declaration
public IEnumerable<IVirtualFile> GetAllMatchingFiles(string globPattern, int maxDepth = 2147483647)
Returns

System.Collections.Generic.IEnumerable<ServiceStack.IO.IVirtualFile>

Parameters
TypeName
System.StringglobPattern
System.Int32maxDepth

Implements