Class MappingPhysicalFileProvider
A IBase
Inheritance
System.Object
MappingPhysicalFileProvider
Namespace: EPiServer.Web.Hosting
Assembly: EPiServer.Framework.AspNetCore.dll
Version: 12.0.3Syntax
public class MappingPhysicalFileProvider : Object, IBasePathFileProvider, IFileProvider
Constructors
MappingPhysicalFileProvider(String, String, String)
Constructs a new instance of Mapping
Declaration
public MappingPhysicalFileProvider(string from, string to, string physicalPath)
Parameters
Type | Name | Description |
---|---|---|
System. |
from | The path it should map from |
System. |
to | The path it should map to |
System. |
physicalPath | The physical path to the resources |
Properties
BasePath
Declaration
public string BasePath { get; }
Property Value
Type | Description |
---|---|
System. |
Methods
GetDirectoryContents(String)
Declaration
public IDirectoryContents GetDirectoryContents(string subpath)
Parameters
Type | Name | Description |
---|---|---|
System. |
subpath |
Returns
Type | Description |
---|---|
Microsoft. |
GetFileInfo(String)
Declaration
public IFileInfo GetFileInfo(string subpath)
Parameters
Type | Name | Description |
---|---|---|
System. |
subpath |
Returns
Type | Description |
---|---|
Microsoft. |
Watch(String)
Declaration
public IChangeToken Watch(string filter)
Parameters
Type | Name | Description |
---|---|---|
System. |
filter |
Returns
Type | Description |
---|---|
Microsoft. |
Implements
Microsoft.Extensions.FileProviders.IFileProvider