Show / Hide Table of Contents

Class TextTemplateContentManagement

Inheritance
object
ComponentBase
OwningComponentBase
AbpComponentBase
TextTemplateManagementComponentBase
TextTemplateContentManagement
Implements
IComponent
IHandleEvent
IHandleAfterRender
IDisposable
Inherited Members
AbpComponentBase.LazyGetRequiredService<TService>(ref TService)
AbpComponentBase.LazyGetRequiredService<TRef>(Type, ref TRef)
AbpComponentBase.LazyGetService<TService>(ref TService)
AbpComponentBase.LazyGetService<TRef>(Type, ref TRef)
AbpComponentBase.LazyGetNonScopedRequiredService<TService>(ref TService)
AbpComponentBase.LazyGetNonScopedRequiredService<TRef>(Type, ref TRef)
AbpComponentBase.LazyGetNonScopedService<TService>(ref TService)
AbpComponentBase.LazyGetNonScopedService<TRef>(Type, ref TRef)
AbpComponentBase.CreateLocalizer()
AbpComponentBase.HandleErrorAsync(Exception)
AbpComponentBase.StringLocalizerFactory
AbpComponentBase.L
AbpComponentBase.LocalizationResource
AbpComponentBase.Logger
AbpComponentBase.LoggerFactory
AbpComponentBase.AuthorizationService
AbpComponentBase.CurrentUser
AbpComponentBase.CurrentTenant
AbpComponentBase.Message
AbpComponentBase.Notify
AbpComponentBase.UserExceptionInformer
AbpComponentBase.AlertManager
AbpComponentBase.Clock
AbpComponentBase.Alerts
AbpComponentBase.ObjectMapper
AbpComponentBase.ObjectMapperContext
AbpComponentBase.NonScopedServices
OwningComponentBase.Dispose(bool)
OwningComponentBase.IsDisposed
OwningComponentBase.ScopedServices
ComponentBase.OnInitialized()
ComponentBase.OnParametersSet()
ComponentBase.OnParametersSetAsync()
ComponentBase.StateHasChanged()
ComponentBase.ShouldRender()
ComponentBase.OnAfterRender(bool)
ComponentBase.OnAfterRenderAsync(bool)
ComponentBase.InvokeAsync(Action)
ComponentBase.InvokeAsync(Func<Task>)
ComponentBase.DispatchExceptionAsync(Exception)
ComponentBase.SetParametersAsync(ParameterView)
ComponentBase.RendererInfo
ComponentBase.Assets
ComponentBase.AssignedRenderMode
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Volo.Abp.TextTemplateManagement.Blazor.Pages.TextTemplateManagement
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
Type Description
string

Languages

Declaration
protected IReadOnlyList<LanguageInfo> Languages
Field Value
Type Description
IReadOnlyList<LanguageInfo>

SelectedBaseCulture

Declaration
protected string SelectedBaseCulture
Field Value
Type Description
string

SelectedTargetCulture

Declaration
protected string SelectedTargetCulture
Field Value
Type Description
string

TargetContent

Declaration
protected string TargetContent
Field Value
Type Description
string

TemplateDefinitionName

Declaration
protected string TemplateDefinitionName
Field Value
Type Description
string

Properties

LanguageProvider

Declaration
[Inject]
protected ILanguageProvider LanguageProvider { get; set; }
Property Value
Type Description
ILanguageProvider

NavigationManager

Declaration
[Inject]
protected NavigationManager NavigationManager { get; set; }
Property Value
Type Description
NavigationManager

TemplateContentAppService

Declaration
[Inject]
protected ITemplateContentAppService TemplateContentAppService { get; set; }
Property Value
Type Description
ITemplateContentAppService

UINotificationService

Declaration
[Inject]
protected IUiNotificationService UINotificationService { get; set; }
Property Value
Type Description
IUiNotificationService

Methods

BuildRenderTree(RenderTreeBuilder)

Declaration
protected override void BuildRenderTree(RenderTreeBuilder __builder)
Parameters
Type Name Description
RenderTreeBuilder __builder
Overrides
ComponentBase.BuildRenderTree(RenderTreeBuilder)

GetContentAsync(string)

Declaration
protected virtual Task<string> GetContentAsync(string culture)
Parameters
Type Name Description
string culture
Returns
Type Description
Task<string>

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
Type Description
Task
Overrides
ComponentBase.OnInitializedAsync()

OnTargetCultureChanged(string)

Declaration
protected virtual void OnTargetCultureChanged(string selectedCulture)
Parameters
Type Name Description
string selectedCulture

RefillContentsAsync()

Declaration
protected virtual Task RefillContentsAsync()
Returns
Type Description
Task

RestoreToDefaultAsync()

Declaration
protected virtual Task RestoreToDefaultAsync()
Returns
Type Description
Task

SaveContentAsync()

Declaration
protected virtual Task SaveContentAsync()
Returns
Type Description
Task

Implements

IComponent
IHandleEvent
IHandleAfterRender
IDisposable

Extension Methods

AbpObjectExtensions.As<T>(object)
AbpObjectExtensions.To<T>(object)
LockExtensions.Locking(object, Action)
LockExtensions.Locking<TResult>(object, Func<TResult>)
AbpObjectExtensions.If<T>(T, bool, Action<T>)
AbpObjectExtensions.If<T>(T, bool, Func<T, T>)
AbpObjectExtensions.IsIn<T>(T, IEnumerable<T>)
AbpObjectExtensions.IsIn<T>(T, params T[])
AbpQueryableExtensions.OrderByIf<T, TQueryable>(TQueryable, bool, string)
AbpQueryableExtensions.PageBy<T, TQueryable>(TQueryable, int, int)
AbpQueryableExtensions.WhereIf<T, TQueryable>(TQueryable, bool, Expression<Func<T, bool>>)
AbpQueryableExtensions.WhereIf<T, TQueryable>(TQueryable, bool, Expression<Func<T, int, bool>>)
AbpOpenIddictQueryableExtensions.SkipIf<T, TQueryable>(TQueryable, bool, int?)
AbpOpenIddictQueryableExtensions.TakeIf<T, TQueryable>(TQueryable, bool, int?)
LockExtensions.Locking<T>(T, Action<T>)
LockExtensions.Locking<T, TResult>(T, Func<T, TResult>)
In this article
Back to top Powered by ABP.IO Platform