Class TemplateDefinitionManager
Inheritance
object
TemplateDefinitionManager
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Assembly: Volo.Abp.TextTemplating.Core.dll
Syntax
public class TemplateDefinitionManager : ITemplateDefinitionManager, ISingletonDependency
Constructors
TemplateDefinitionManager(IOptions<AbpTextTemplatingOptions>, IServiceProvider)
Declaration
public TemplateDefinitionManager(IOptions<AbpTextTemplatingOptions> options, IServiceProvider serviceProvider)
Parameters
| Type |
Name |
Description |
| Microsoft.Extensions.Options.IOptions<TOptions><AbpTextTemplatingOptions> |
options |
|
| System.IServiceProvider |
serviceProvider |
|
Properties
Options
Declaration
protected AbpTextTemplatingOptions Options { get; }
Property Value
ServiceProvider
Declaration
protected IServiceProvider ServiceProvider { get; }
Property Value
| Type |
Description |
| System.IServiceProvider |
|
TemplateDefinitions
Declaration
protected Lazy<IDictionary<string, TemplateDefinition>> TemplateDefinitions { get; }
Property Value
| Type |
Description |
| System.Lazy<T><System.Collections.Generic.IDictionary<TKey, TValue><string, TemplateDefinition>> |
|
Methods
CreateTextTemplateDefinitions()
Declaration
protected virtual IDictionary<string, TemplateDefinition> CreateTextTemplateDefinitions()
Returns
| Type |
Description |
| System.Collections.Generic.IDictionary<TKey, TValue><string, TemplateDefinition> |
|
Get(string)
Declaration
public virtual TemplateDefinition Get(string name)
Parameters
| Type |
Name |
Description |
| string |
name |
|
Returns
GetAll()
Declaration
public virtual IReadOnlyList<TemplateDefinition> GetAll()
Returns
GetOrNull(string)
Declaration
public virtual TemplateDefinition GetOrNull(string name)
Parameters
| Type |
Name |
Description |
| string |
name |
|
Returns
Implements
Extension Methods