Class WebContentFileProvider
Inheritance
WebContentFileProvider
Assembly: Volo.Abp.AspNetCore.dll
Syntax
[Dependency(ReplaceServices = true)]
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
Declaration
protected virtual bool ExtraAllowedExtension(string path)
Parameters
Type |
Name |
Description |
string |
path |
|
Returns
Declaration
protected virtual bool ExtraAllowedFolder(string path)
Parameters
Type |
Name |
Description |
string |
path |
|
Returns
GetDirectoryContents(string)
Declaration
public virtual IDirectoryContents GetDirectoryContents(string subpath)
Parameters
Type |
Name |
Description |
string |
subpath |
|
Returns
GetFileInfo(string)
Declaration
public virtual IFileInfo GetFileInfo(string subpath)
Parameters
Type |
Name |
Description |
string |
subpath |
|
Returns
Watch(string)
Declaration
public virtual IChangeToken Watch(string filter)
Parameters
Type |
Name |
Description |
string |
filter |
|
Returns
Implements
Extension Methods