Show / Hide Table of Contents

Class WebContentFileProvider

Inheritance
object
WebContentFileProvider
Implements
IWebContentFileProvider
IFileProvider
ISingletonDependency
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Volo.Abp.AspNetCore.VirtualFileSystem
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
Type Name Description
IVirtualFileProvider virtualFileProvider
IWebHostEnvironment hostingEnvironment
IOptions<AbpAspNetCoreContentOptions> options

Properties

Options

Declaration
protected AbpAspNetCoreContentOptions Options { get; }
Property Value
Type Description
AbpAspNetCoreContentOptions

Methods

CreateFileProvider()

Declaration
protected virtual IFileProvider CreateFileProvider()
Returns
Type Description
IFileProvider

ExtraAllowedExtension(string)

Declaration
protected virtual bool ExtraAllowedExtension(string path)
Parameters
Type Name Description
string path
Returns
Type Description
bool

ExtraAllowedFolder(string)

Declaration
protected virtual bool ExtraAllowedFolder(string path)
Parameters
Type Name Description
string path
Returns
Type Description
bool

GetDirectoryContents(string)

Declaration
public virtual IDirectoryContents GetDirectoryContents(string subpath)
Parameters
Type Name Description
string subpath
Returns
Type Description
IDirectoryContents

GetFileInfo(string)

Declaration
public virtual IFileInfo GetFileInfo(string subpath)
Parameters
Type Name Description
string subpath
Returns
Type Description
IFileInfo

Watch(string)

Declaration
public virtual IChangeToken Watch(string filter)
Parameters
Type Name Description
string filter
Returns
Type Description
IChangeToken

Implements

IWebContentFileProvider
IFileProvider
ISingletonDependency

Extension Methods

AbpObjectExtensions.As<T>(object)
AbpObjectExtensions.To<T>(object)
LockExtensions.Locking(object, Action)
LockExtensions.Locking<TResult>(object, Func<TResult>)
AbpObjectExtensions.If<T>(T, bool, Action<T>)
AbpObjectExtensions.If<T>(T, bool, Func<T, T>)
AbpObjectExtensions.IsIn<T>(T, IEnumerable<T>)
AbpObjectExtensions.IsIn<T>(T, params T[])
AbpQueryableExtensions.OrderByIf<T, TQueryable>(TQueryable, bool, string)
AbpQueryableExtensions.PageBy<T, TQueryable>(TQueryable, int, int)
AbpQueryableExtensions.WhereIf<T, TQueryable>(TQueryable, bool, Expression<Func<T, bool>>)
AbpQueryableExtensions.WhereIf<T, TQueryable>(TQueryable, bool, Expression<Func<T, int, bool>>)
AbpOpenIddictQueryableExtensions.SkipIf<T, TQueryable>(TQueryable, bool, int?)
AbpOpenIddictQueryableExtensions.TakeIf<T, TQueryable>(TQueryable, bool, int?)
LockExtensions.Locking<T>(T, Action<T>)
LockExtensions.Locking<T, TResult>(T, Func<T, TResult>)
In this article
Back to top Powered by ABP.IO Platform