Show / Hide Table of Contents

Class CachedBundleDynamicFileProvider

Inheritance
object
DictionaryBasedFileProvider
DynamicFileProvider
CachedBundleDynamicFileProvider
Implements
IDynamicFileProvider
IFileProvider
ISingletonDependency
Inherited Members
DynamicFileProvider.Watch(string)
DynamicFileProvider.ReportChange(string)
DynamicFileProvider.Files
DynamicFileProvider.DynamicFiles
DynamicFileProvider.FilePathTokenLookup
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.AspNetCore.Mvc.UI.Bundling
Assembly: Volo.Abp.AspNetCore.Mvc.UI.Bundling.dll
Syntax
[Dependency(ReplaceServices = true)]
public class CachedBundleDynamicFileProvider : DynamicFileProvider, IDynamicFileProvider, IFileProvider, ISingletonDependency

Constructors

CachedBundleDynamicFileProvider(IDistributedCache<InMemoryFileInfoCacheItem>, IOptions<AbpBundlingOptions>)

Declaration
public CachedBundleDynamicFileProvider(IDistributedCache<InMemoryFileInfoCacheItem> cache, IOptions<AbpBundlingOptions> bundlingOptions)
Parameters
Type Name Description
IDistributedCache<InMemoryFileInfoCacheItem> cache
IOptions<AbpBundlingOptions> bundlingOptions

Properties

BundlingOptions

Declaration
protected IOptions<AbpBundlingOptions> BundlingOptions { get; }
Property Value
Type Description
IOptions<AbpBundlingOptions>

Cache

Declaration
protected IDistributedCache<InMemoryFileInfoCacheItem> Cache { get; }
Property Value
Type Description
IDistributedCache<InMemoryFileInfoCacheItem>

Methods

AddOrUpdate(IFileInfo)

Declaration
public override void AddOrUpdate(IFileInfo fileInfo)
Parameters
Type Name Description
IFileInfo fileInfo
Overrides
DynamicFileProvider.AddOrUpdate(IFileInfo)

Delete(string)

Declaration
public override bool Delete(string filePath)
Parameters
Type Name Description
string filePath
Returns
Type Description
bool
Overrides
DynamicFileProvider.Delete(string)

GetFileInfo(string?)

Declaration
public override IFileInfo GetFileInfo(string? subpath)
Parameters
Type Name Description
string subpath
Returns
Type Description
IFileInfo
Overrides
DictionaryBasedFileProvider.GetFileInfo(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