Class VirtualFileEx
Extends the System.Web.Hosting.VirtualFile implemetation with properties enabling efficient transmission by the StaticFileHandler.
Namespace: EPiServer.Web.Hosting
Assembly: EPiServer.Framework.dll
Version: 8.11.0Syntax
public abstract class VirtualFileEx : VirtualFile
Constructors
VirtualFileEx(String)
Initializes a new instance of the VirtualFileEx class.
Declaration
protected VirtualFileEx(string virtualPath)
Parameters
Type | Name | Description |
---|---|---|
System.String | virtualPath | The virtual path to the resource represented by this instance. |
Properties
Changed
Base class implementation of interface. Throws NotImplementedException.
Declaration
public virtual DateTime Changed { get; }
Property Value
Type | Description |
---|---|
System.DateTime | The changed. |
Extension
Gets the UnifiedFiles extension, for example '.doc'.
Declaration
public virtual string Extension { get; }
Property Value
Type | Description |
---|---|
System.String |
LocalPath
Gets the local path. Base class returns null
Declaration
public virtual string LocalPath { get; }
Property Value
Type | Description |
---|---|
System.String | The local path. |