Class TextTemplateContentManagement
Inheritance
TextTemplateContentManagement
Assembly: Volo.Abp.TextTemplateManagement.Blazor.dll
Syntax
[Authorize("TextTemplateManagement.TextTemplates.EditContents")]
[Route("/text-templates/contents")]
public class TextTemplateContentManagement : TextTemplateManagementComponentBase, IComponent, IHandleEvent, IHandleAfterRender, IDisposable
Constructors
TextTemplateContentManagement()
Declaration
public TextTemplateContentManagement()
Fields
BaseContent
Declaration
protected string BaseContent
Field Value
Languages
Declaration
protected IReadOnlyList<LanguageInfo> Languages
Field Value
SelectedBaseCulture
Declaration
protected string SelectedBaseCulture
Field Value
SelectedTargetCulture
Declaration
protected string SelectedTargetCulture
Field Value
TargetContent
Declaration
protected string TargetContent
Field Value
TemplateDefinitionName
Declaration
protected string TemplateDefinitionName
Field Value
Properties
LanguageProvider
Declaration
[Inject]
protected ILanguageProvider LanguageProvider { get; set; }
Property Value
NavigationManager
Declaration
[Inject]
protected NavigationManager NavigationManager { get; set; }
Property Value
TemplateContentAppService
Declaration
[Inject]
protected ITemplateContentAppService TemplateContentAppService { get; set; }
Property Value
UINotificationService
Declaration
[Inject]
protected IUiNotificationService UINotificationService { get; set; }
Property Value
Methods
BuildRenderTree(RenderTreeBuilder)
Declaration
protected override void BuildRenderTree(RenderTreeBuilder __builder)
Parameters
Overrides
GetContentAsync(string)
Declaration
protected virtual Task<string> GetContentAsync(string culture)
Parameters
Type |
Name |
Description |
string |
culture |
|
Returns
NavigateToTemplateListing()
Declaration
protected virtual void NavigateToTemplateListing()
OnBaseCultureChanged(string)
Declaration
protected virtual void OnBaseCultureChanged(string selectedCulture)
Parameters
Type |
Name |
Description |
string |
selectedCulture |
|
OnInitializedAsync()
Declaration
protected override Task OnInitializedAsync()
Returns
Overrides
OnTargetCultureChanged(string)
Declaration
protected virtual void OnTargetCultureChanged(string selectedCulture)
Parameters
Type |
Name |
Description |
string |
selectedCulture |
|
RefillContentsAsync()
Declaration
protected virtual Task RefillContentsAsync()
Returns
RestoreToDefaultAsync()
Declaration
protected virtual Task RestoreToDefaultAsync()
Returns
SaveContentAsync()
Declaration
protected virtual Task SaveContentAsync()
Returns
Implements
Extension Methods