Class WebContentFileProvider
Inheritance
System.Object
WebContentFileProvider
Implements
IFileProvider
ISingletonDependency
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Assembly: Volo.Abp.AspNetCore.dll
Syntax
public class WebContentFileProvider : IWebContentFileProvider, IFileProvider, ISingletonDependency
Constructors
WebContentFileProvider(IVirtualFileProvider, IWebHostEnvironment, IOptions<AbpAspNetCoreContentOptions>)
Declaration
public WebContentFileProvider(IVirtualFileProvider virtualFileProvider, IWebHostEnvironment hostingEnvironment, IOptions<AbpAspNetCoreContentOptions> options)
Parameters
Properties
Options
Declaration
protected AbpAspNetCoreContentOptions Options { get; }
Property Value
Methods
CreateFileProvider()
Declaration
protected virtual IFileProvider CreateFileProvider()
Returns
| Type |
Description |
| IFileProvider |
|
Declaration
protected virtual bool ExtraAllowedExtension(string path)
Parameters
| Type |
Name |
Description |
| System.String |
path |
|
Returns
| Type |
Description |
| System.Boolean |
|
Declaration
protected virtual bool ExtraAllowedFolder(string path)
Parameters
| Type |
Name |
Description |
| System.String |
path |
|
Returns
| Type |
Description |
| System.Boolean |
|
GetDirectoryContents(String)
Declaration
public virtual IDirectoryContents GetDirectoryContents(string subpath)
Parameters
| Type |
Name |
Description |
| System.String |
subpath |
|
Returns
| Type |
Description |
| IDirectoryContents |
|
GetFileInfo(String)
Declaration
public virtual IFileInfo GetFileInfo(string subpath)
Parameters
| Type |
Name |
Description |
| System.String |
subpath |
|
Returns
| Type |
Description |
| IFileInfo |
|
Watch(String)
Declaration
public virtual IChangeToken Watch(string filter)
Parameters
| Type |
Name |
Description |
| System.String |
filter |
|
Returns
| Type |
Description |
| IChangeToken |
|
Implements
IFileProvider
ISingletonDependency
Extension Methods