Class InlineContentModel
Inherited Members
Namespace: Volo.Abp.TextTemplateManagement.Web.Pages.TextTemplates.Contents
Assembly: Volo.Abp.TextTemplateManagement.Web.dll
Syntax
public class InlineContentModel : TextTemplateManagementPageModel, IAsyncPageFilter, IPageFilter, IFilterMetadata
Constructors
InlineContentModel(ITemplateContentAppService, ITemplateDefinitionAppService)
Declaration
public InlineContentModel(ITemplateContentAppService templateContentAppService, ITemplateDefinitionAppService templateDefinitionAppService)
Parameters
| Type | Name | Description |
|---|---|---|
| ITemplateContentAppService | templateContentAppService | |
| ITemplateDefinitionAppService | templateDefinitionAppService |
Properties
TemplateContent
Declaration
[BindProperty]
[TextArea(Rows = 10)]
[Required]
public string TemplateContent { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
TemplateDefinition
Declaration
public TemplateDefinitionDto TemplateDefinition { get; protected set; }
Property Value
| Type | Description |
|---|---|
| TemplateDefinitionDto |
TemplateDefinitionName
Declaration
[BindProperty(SupportsGet = true)]
public string TemplateDefinitionName { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Methods
OnGetAsync()
Declaration
public virtual Task<IActionResult> OnGetAsync()
Returns
| Type | Description |
|---|---|
| Task<IActionResult> |
OnPostAsync()
Declaration
public virtual Task<IActionResult> OnPostAsync()
Returns
| Type | Description |
|---|---|
| Task<IActionResult> |