Show / Hide Table of Contents

Class TemplateContentAppService

Inheritance
object
ApplicationService
TextTemplateManagementAppServiceBase
TemplateContentAppService
Implements
IAvoidDuplicateCrossCuttingConcerns
IValidationEnabled
IUnitOfWorkEnabled
IAuditingEnabled
IGlobalFeatureCheckingEnabled
ITransientDependency
ITemplateContentAppService
IApplicationService
IRemoteService
Inherited Members
ApplicationService.CheckPolicyAsync(string)
ApplicationService.CreateLocalizer()
ApplicationService.LazyServiceProvider
ApplicationService.ServiceProvider
ApplicationService.CommonPostfixes
ApplicationService.AppliedCrossCuttingConcerns
ApplicationService.UnitOfWorkManager
ApplicationService.AsyncExecuter
ApplicationService.ObjectMapperContext
ApplicationService.ObjectMapper
ApplicationService.GuidGenerator
ApplicationService.LoggerFactory
ApplicationService.CurrentTenant
ApplicationService.DataFilter
ApplicationService.CurrentUser
ApplicationService.SettingProvider
ApplicationService.Clock
ApplicationService.AuthorizationService
ApplicationService.FeatureChecker
ApplicationService.StringLocalizerFactory
ApplicationService.L
ApplicationService.LocalizationResource
ApplicationService.CurrentUnitOfWork
ApplicationService.Logger
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Volo.Abp.TextTemplateManagement.TextTemplates
Assembly: Volo.Abp.TextTemplateManagement.Application.dll
Syntax
[RequiresFeature(new string[] { "TextManagement.Enable" })]
[Authorize("TextTemplateManagement.TextTemplates")]
public class TemplateContentAppService : TextTemplateManagementAppServiceBase, IAvoidDuplicateCrossCuttingConcerns, IValidationEnabled, IUnitOfWorkEnabled, IAuditingEnabled, IGlobalFeatureCheckingEnabled, ITransientDependency, ITemplateContentAppService, IApplicationService, IRemoteService

Constructors

TemplateContentAppService(ITextTemplateContentRepository, ITemplateContentProvider, ITemplateDefinitionManager, IDistributedCache<string, TemplateContentCacheKey>)

Declaration
public TemplateContentAppService(ITextTemplateContentRepository textTemplateContentRepository, ITemplateContentProvider templateContentProvider, ITemplateDefinitionManager templateDefinitionManager, IDistributedCache<string, TemplateContentCacheKey> cache)
Parameters
Type Name Description
ITextTemplateContentRepository textTemplateContentRepository
ITemplateContentProvider templateContentProvider
ITemplateDefinitionManager templateDefinitionManager
IDistributedCache<string, TemplateContentCacheKey> cache

Methods

GetAsync(GetTemplateContentInput)

Declaration
public virtual Task<TextTemplateContentDto> GetAsync(GetTemplateContentInput input)
Parameters
Type Name Description
GetTemplateContentInput input
Returns
Type Description
Task<TextTemplateContentDto>

RestoreToDefaultAsync(RestoreTemplateContentInput)

Declaration
[Authorize("TextTemplateManagement.TextTemplates.EditContents")]
public virtual Task RestoreToDefaultAsync(RestoreTemplateContentInput input)
Parameters
Type Name Description
RestoreTemplateContentInput input
Returns
Type Description
Task

UpdateAsync(UpdateTemplateContentInput)

Declaration
[Authorize("TextTemplateManagement.TextTemplates.EditContents")]
public virtual Task<TextTemplateContentDto> UpdateAsync(UpdateTemplateContentInput input)
Parameters
Type Name Description
UpdateTemplateContentInput input
Returns
Type Description
Task<TextTemplateContentDto>

Implements

IAvoidDuplicateCrossCuttingConcerns
IValidationEnabled
IUnitOfWorkEnabled
IAuditingEnabled
IGlobalFeatureCheckingEnabled
ITransientDependency
ITemplateContentAppService
IApplicationService
IRemoteService

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