Show / Hide Table of Contents

Class LocalizedTemplateContentReaderFactory

Inheritance
object
LocalizedTemplateContentReaderFactory
Implements
ILocalizedTemplateContentReaderFactory
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.TextTemplating.VirtualFiles
Assembly: Volo.Abp.TextTemplating.Core.dll
Syntax
public class LocalizedTemplateContentReaderFactory : ILocalizedTemplateContentReaderFactory, ISingletonDependency

Constructors

LocalizedTemplateContentReaderFactory(IVirtualFileProvider, IAbpHostEnvironment)

Declaration
public LocalizedTemplateContentReaderFactory(IVirtualFileProvider virtualFileProvider, IAbpHostEnvironment abpHostEnvironment)
Parameters
Type Name Description
IVirtualFileProvider virtualFileProvider
IAbpHostEnvironment abpHostEnvironment

Fields

SyncObj

Declaration
protected SemaphoreSlim SyncObj
Field Value
Type Description
SemaphoreSlim

Properties

AbpHostEnvironment

Declaration
protected IAbpHostEnvironment AbpHostEnvironment { get; }
Property Value
Type Description
IAbpHostEnvironment

ReaderCache

Declaration
protected ConcurrentDictionary<string, ILocalizedTemplateContentReader> ReaderCache { get; }
Property Value
Type Description
ConcurrentDictionary<string, ILocalizedTemplateContentReader>

VirtualFileProvider

Declaration
protected IVirtualFileProvider VirtualFileProvider { get; }
Property Value
Type Description
IVirtualFileProvider

Methods

CreateAsync(TemplateDefinition)

Declaration
public virtual Task<ILocalizedTemplateContentReader> CreateAsync(TemplateDefinition templateDefinition)
Parameters
Type Name Description
TemplateDefinition templateDefinition
Returns
Type Description
Task<ILocalizedTemplateContentReader>

CreateInternalAsync(TemplateDefinition)

Declaration
protected virtual Task<ILocalizedTemplateContentReader> CreateInternalAsync(TemplateDefinition templateDefinition)
Parameters
Type Name Description
TemplateDefinition templateDefinition
Returns
Type Description
Task<ILocalizedTemplateContentReader>

Implements

ILocalizedTemplateContentReaderFactory
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