Show / Hide Table of Contents

Class LocalizedTemplateContentReaderFactory

Inheritance
System.Object
LocalizedTemplateContentReaderFactory
Implements
ILocalizedTemplateContentReaderFactory
ISingletonDependency
Namespace: Volo.Abp.TextTemplating.VirtualFiles
Assembly: Volo.Abp.TextTemplating.dll
Syntax
public class LocalizedTemplateContentReaderFactory : object, ILocalizedTemplateContentReaderFactory, ISingletonDependency

Constructors

LocalizedTemplateContentReaderFactory(IVirtualFileProvider)

Declaration
public LocalizedTemplateContentReaderFactory(IVirtualFileProvider virtualFileProvider)
Parameters
Type Name Description
IVirtualFileProvider virtualFileProvider

Fields

SyncObj

Declaration
protected SemaphoreSlim SyncObj
Field Value
Type Description
SemaphoreSlim

Properties

ReaderCache

Declaration
protected ConcurrentDictionary<string, ILocalizedTemplateContentReader> ReaderCache { get; }
Property Value
Type Description
ConcurrentDictionary<System.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)
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