Show / Hide Table of Contents

Class ApplicationService

Inheritance
object
ApplicationService
AbpTenantAppService
AbstractKeyReadOnlyAppService<TEntity, TGetOutputDto, TGetListOutputDto, TKey, TGetListInput>
AbpApplicationConfigurationAppService
AbpApplicationLocalizationAppService
TodoAppService
TodoAppService
GlobalFeatureInterceptor_Tests.TestAppServiceV1
GlobalFeatureInterceptor_Tests.TestAppServiceV2
PeopleIntegrationService
Implements
IApplicationService
IRemoteService
IAvoidDuplicateCrossCuttingConcerns
IValidationEnabled
IUnitOfWorkEnabled
IAuditingEnabled
IGlobalFeatureCheckingEnabled
ITransientDependency
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Volo.Abp.Application.Services
Assembly: Volo.Abp.Ddd.Application.dll
Syntax
public abstract class ApplicationService : IApplicationService, IRemoteService, IAvoidDuplicateCrossCuttingConcerns, IValidationEnabled, IUnitOfWorkEnabled, IAuditingEnabled, IGlobalFeatureCheckingEnabled, ITransientDependency

Constructors

ApplicationService()

Declaration
protected ApplicationService()

Properties

AppliedCrossCuttingConcerns

Declaration
public List<string> AppliedCrossCuttingConcerns { get; }
Property Value
Type Description
System.Collections.Generic.List<T><string>

AsyncExecuter

Declaration
protected IAsyncQueryableExecuter AsyncExecuter { get; }
Property Value
Type Description
IAsyncQueryableExecuter

AuthorizationService

Declaration
protected IAuthorizationService AuthorizationService { get; }
Property Value
Type Description
Microsoft.AspNetCore.Authorization.IAuthorizationService

Clock

Declaration
protected IClock Clock { get; }
Property Value
Type Description
IClock

CommonPostfixes

Declaration
public static string[] CommonPostfixes { get; set; }
Property Value
Type Description
string[]

CurrentTenant

Declaration
protected ICurrentTenant CurrentTenant { get; }
Property Value
Type Description
ICurrentTenant

CurrentUnitOfWork

Declaration
protected IUnitOfWork CurrentUnitOfWork { get; }
Property Value
Type Description
IUnitOfWork

CurrentUser

Declaration
protected ICurrentUser CurrentUser { get; }
Property Value
Type Description
ICurrentUser

DataFilter

Declaration
protected IDataFilter DataFilter { get; }
Property Value
Type Description
IDataFilter

FeatureChecker

Declaration
protected IFeatureChecker FeatureChecker { get; }
Property Value
Type Description
IFeatureChecker

GuidGenerator

Declaration
protected IGuidGenerator GuidGenerator { get; }
Property Value
Type Description
IGuidGenerator

L

Declaration
protected IStringLocalizer L { get; }
Property Value
Type Description
Microsoft.Extensions.Localization.IStringLocalizer

LazyServiceProvider

Declaration
public IAbpLazyServiceProvider LazyServiceProvider { get; set; }
Property Value
Type Description
IAbpLazyServiceProvider

LocalizationResource

Declaration
protected Type LocalizationResource { get; set; }
Property Value
Type Description
System.Type

Logger

Declaration
protected ILogger Logger { get; }
Property Value
Type Description
Microsoft.Extensions.Logging.ILogger

LoggerFactory

Declaration
protected ILoggerFactory LoggerFactory { get; }
Property Value
Type Description
Microsoft.Extensions.Logging.ILoggerFactory

ObjectMapper

Declaration
protected IObjectMapper ObjectMapper { get; }
Property Value
Type Description
IObjectMapper

ObjectMapperContext

Declaration
protected Type ObjectMapperContext { get; set; }
Property Value
Type Description
System.Type

ServiceProvider

Declaration
[Obsolete("Use LazyServiceProvider instead.")]
public IServiceProvider ServiceProvider { get; set; }
Property Value
Type Description
System.IServiceProvider

SettingProvider

Declaration
protected ISettingProvider SettingProvider { get; }
Property Value
Type Description
ISettingProvider

StringLocalizerFactory

Declaration
protected IStringLocalizerFactory StringLocalizerFactory { get; }
Property Value
Type Description
Microsoft.Extensions.Localization.IStringLocalizerFactory

UnitOfWorkManager

Declaration
protected IUnitOfWorkManager UnitOfWorkManager { get; }
Property Value
Type Description
IUnitOfWorkManager

Methods

CheckPolicyAsync(string)

Declaration
protected virtual Task CheckPolicyAsync(string policyName)
Parameters
Type Name Description
string policyName
Returns
Type Description
System.Threading.Tasks.Task

CreateLocalizer()

Declaration
protected virtual IStringLocalizer CreateLocalizer()
Returns
Type Description
Microsoft.Extensions.Localization.IStringLocalizer

Implements

IApplicationService
IRemoteService
IAvoidDuplicateCrossCuttingConcerns
IValidationEnabled
IUnitOfWorkEnabled
IAuditingEnabled
IGlobalFeatureCheckingEnabled
ITransientDependency

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>>)
LockExtensions.Locking<T>(T, Action<T>)
LockExtensions.Locking<T, TResult>(T, Func<T, TResult>)
In This Article
Back to top Powered by Volosoft