Show / Hide Table of Contents

Class DynamicFileProvider

Inheritance
object
DictionaryBasedFileProvider
DynamicFileProvider
CachedBundleDynamicFileProvider
Implements
IDynamicFileProvider
IFileProvider
ISingletonDependency
Inherited Members
DictionaryBasedFileProvider.GetFileInfo(string)
DictionaryBasedFileProvider.GetDirectoryContents(string)
DictionaryBasedFileProvider.NormalizePath(string)
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Volo.Abp.VirtualFileSystem
Assembly: Volo.Abp.VirtualFileSystem.dll
Syntax
public class DynamicFileProvider : DictionaryBasedFileProvider, IDynamicFileProvider, IFileProvider, ISingletonDependency

Constructors

DynamicFileProvider()

Declaration
public DynamicFileProvider()

Properties

DynamicFiles

Declaration
protected ConcurrentDictionary<string, IFileInfo> DynamicFiles { get; }
Property Value
Type Description
ConcurrentDictionary<string, IFileInfo>

FilePathTokenLookup

Declaration
protected ConcurrentDictionary<string, DynamicFileProvider.ChangeTokenInfo> FilePathTokenLookup { get; }
Property Value
Type Description
ConcurrentDictionary<string, DynamicFileProvider.ChangeTokenInfo>

Files

Declaration
protected override IDictionary<string, IFileInfo> Files { get; }
Property Value
Type Description
IDictionary<string, IFileInfo>
Overrides
DictionaryBasedFileProvider.Files

Methods

AddOrUpdate(IFileInfo)

Declaration
public virtual void AddOrUpdate(IFileInfo fileInfo)
Parameters
Type Name Description
IFileInfo fileInfo

Delete(string)

Declaration
public virtual bool Delete(string filePath)
Parameters
Type Name Description
string filePath
Returns
Type Description
bool

ReportChange(string)

Declaration
protected virtual void ReportChange(string filePath)
Parameters
Type Name Description
string filePath

Watch(string)

Declaration
public override IChangeToken Watch(string filter)
Parameters
Type Name Description
string filter
Returns
Type Description
IChangeToken
Overrides
DictionaryBasedFileProvider.Watch(string)

Implements

IDynamicFileProvider
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