Try our conversational search powered by Generative AI!

Class NonUnifiedDirectory

Represents physical directories for a VirtualPathNonUnifiedProvider.

Inheritance
System.Object
NonUnifiedDirectory
Namespace: EPiServer.Web.Hosting
Assembly: EPiServer.Framework.AspNet.dll
Version: 11.20.7
Syntax
public class NonUnifiedDirectory : VirtualDirectory

Constructors

NonUnifiedDirectory(String, String, VirtualPathNonUnifiedProvider)

Creates a NonUnifiedDirectory instance.

Declaration
public NonUnifiedDirectory(string physicalPath, string virtualPath, VirtualPathNonUnifiedProvider provider)
Parameters
Type Name Description
System.String physicalPath

The physical path to represent.

System.String virtualPath

The virtual path to represent.

VirtualPathNonUnifiedProvider provider

The VirtualPathNonUnifiedProvider that handles the file.

Properties

Children

Gets an System.Collections.IEnumerable for all sub directories and files of the virtual directory.

Declaration
public override IEnumerable Children { get; }
Property Value
Type Description
System.Collections.IEnumerable

Directories

Gets an System.Collections.IEnumerable for all sub directories of the virtual directory.

Declaration
public override IEnumerable Directories { get; }
Property Value
Type Description
System.Collections.IEnumerable

Files

Gets an System.Collections.IEnumerable for all files of the virtual directory.

Declaration
public override IEnumerable Files { get; }
Property Value
Type Description
System.Collections.IEnumerable

PhysicalPath

Gets the physical path for the virtual directory.

Declaration
public string PhysicalPath { get; }
Property Value
Type Description
System.String

Extension Methods