Show / Hide Table of Contents

Class DynamicFileProvider

Inheritance
object
DictionaryBasedFileProvider
DynamicFileProvider
Implements
IDynamicFileProvider
Microsoft.Extensions.FileProviders.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
System.Collections.Concurrent.ConcurrentDictionary<TKey, TValue><string, Microsoft.Extensions.FileProviders.IFileInfo>

FilePathTokenLookup

Declaration
protected ConcurrentDictionary<string, DynamicFileProvider.ChangeTokenInfo> FilePathTokenLookup { get; }
Property Value
Type Description
System.Collections.Concurrent.ConcurrentDictionary<TKey, TValue><string, DynamicFileProvider.ChangeTokenInfo>

Files

Declaration
protected override IDictionary<string, IFileInfo> Files { get; }
Property Value
Type Description
System.Collections.Generic.IDictionary<TKey, TValue><string, Microsoft.Extensions.FileProviders.IFileInfo>
Overrides
DictionaryBasedFileProvider.Files

Methods

AddOrUpdate(IFileInfo)

Declaration
public void AddOrUpdate(IFileInfo fileInfo)
Parameters
Type Name Description
Microsoft.Extensions.FileProviders.IFileInfo fileInfo

Delete(string)

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

Watch(string)

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

Implements

IDynamicFileProvider
Microsoft.Extensions.FileProviders.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>>)
LockExtensions.Locking<T>(T, Action<T>)
LockExtensions.Locking<T, TResult>(T, Func<T, TResult>)
In This Article
Back to top Powered by Volosoft