Show / Hide Table of Contents

Class WebContentFileProvider

Inheritance
System.Object
WebContentFileProvider
Implements
IWebContentFileProvider
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()
Namespace: Volo.Abp.AspNetCore.VirtualFileSystem
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
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
System.String path
Returns
Type Description
System.Boolean

ExtraAllowedFolder(String)

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

IWebContentFileProvider
IFileProvider
ISingletonDependency

Extension Methods

AbpObjectExtensions.As<T>(Object)
AbpObjectExtensions.To<T>(Object)
AbpObjectExtensions.IsIn<T>(T, T[])
AbpObjectExtensions.If<T>(T, Boolean, Func<T, T>)
AbpObjectExtensions.If<T>(T, Boolean, Action<T>)
LockExtensions.Locking(Object, Action)
LockExtensions.Locking<T>(T, Action<T>)
LockExtensions.Locking<TResult>(Object, Func<TResult>)
LockExtensions.Locking<T, TResult>(T, Func<T, TResult>)
Back to top Powered by Volosoft