Class VirtualFileTemplateContentContributor
Inheritance
object
VirtualFileTemplateContentContributor
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 VirtualFileTemplateContentContributor : ITemplateContentContributor, ITransientDependency
Constructors
VirtualFileTemplateContentContributor(ILocalizedTemplateContentReaderFactory)
Declaration
public VirtualFileTemplateContentContributor(ILocalizedTemplateContentReaderFactory localizedTemplateContentReaderFactory)
Parameters
| Type | Name | Description |
|---|---|---|
| ILocalizedTemplateContentReaderFactory | localizedTemplateContentReaderFactory |
Fields
VirtualPathPropertyName
Declaration
public const string VirtualPathPropertyName = "VirtualPath"
Field Value
| Type | Description |
|---|---|
| string |
Methods
GetOrNullAsync(TemplateContentContributorContext)
Declaration
public virtual Task<string> GetOrNullAsync(TemplateContentContributorContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| TemplateContentContributorContext | context |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task<TResult><string> |