Class WebContentFileProvider
Inheritance
object
WebContentFileProvider
Implements
Microsoft.Extensions.FileProviders.IFileProvider
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
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 |
| Microsoft.Extensions.FileProviders.IFileProvider |
|
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
| Type |
Description |
| Microsoft.Extensions.FileProviders.IDirectoryContents |
|
GetFileInfo(string)
Declaration
public virtual IFileInfo GetFileInfo(string subpath)
Parameters
| Type |
Name |
Description |
| string |
subpath |
|
Returns
| Type |
Description |
| Microsoft.Extensions.FileProviders.IFileInfo |
|
Watch(string)
Declaration
public virtual IChangeToken Watch(string filter)
Parameters
| Type |
Name |
Description |
| string |
filter |
|
Returns
| Type |
Description |
| Microsoft.Extensions.Primitives.IChangeToken |
|
Implements
Microsoft.Extensions.FileProviders.IFileProvider
Extension Methods