Class ApplicationService
Inheritance
System.Object
ApplicationService
Implements
IRemoteService
IAvoidDuplicateCrossCuttingConcerns
IUnitOfWorkEnabled
IAuditingEnabled
ITransientDependency
Assembly: Volo.Abp.Ddd.Application.dll
Syntax
public abstract class ApplicationService : object, IApplicationService, IRemoteService, IAvoidDuplicateCrossCuttingConcerns, IValidationEnabled, IUnitOfWorkEnabled, IAuditingEnabled, ITransientDependency
Constructors
ApplicationService()
Declaration
protected ApplicationService()
Fields
ServiceProviderLock
Declaration
protected readonly object ServiceProviderLock
Field Value
Type |
Description |
System.Object |
|
Properties
AppliedCrossCuttingConcerns
Declaration
public List<string> AppliedCrossCuttingConcerns { get; }
Property Value
Type |
Description |
List<System.String> |
|
AsyncExecuter
Declaration
protected IAsyncQueryableExecuter AsyncExecuter { get; }
Property Value
Type |
Description |
IAsyncQueryableExecuter |
|
AuthorizationService
Declaration
protected IAuthorizationService AuthorizationService { get; }
Property Value
Type |
Description |
IAuthorizationService |
|
Clock
Declaration
protected IClock Clock { get; }
Property Value
CommonPostfixes
Declaration
public static string[] CommonPostfixes { get; set; }
Property Value
Type |
Description |
System.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
FeatureChecker
Declaration
protected IFeatureChecker FeatureChecker { get; }
Property Value
GuidGenerator
Declaration
public IGuidGenerator GuidGenerator { get; set; }
Property Value
Type |
Description |
IGuidGenerator |
|
L
Declaration
protected IStringLocalizer L { get; }
Property Value
Type |
Description |
IStringLocalizer |
|
LocalizationResource
Declaration
protected Type LocalizationResource { get; set; }
Property Value
Logger
Declaration
protected ILogger Logger { get; }
Property Value
LoggerFactory
Declaration
protected ILoggerFactory LoggerFactory { get; }
Property Value
Type |
Description |
ILoggerFactory |
|
ObjectMapper
Declaration
protected IObjectMapper ObjectMapper { get; }
Property Value
ObjectMapperContext
Declaration
protected Type ObjectMapperContext { get; set; }
Property Value
ServiceProvider
Declaration
public IServiceProvider ServiceProvider { get; set; }
Property Value
Type |
Description |
IServiceProvider |
|
SettingProvider
Declaration
protected ISettingProvider SettingProvider { get; }
Property Value
StringLocalizerFactory
Declaration
protected IStringLocalizerFactory StringLocalizerFactory { get; }
Property Value
Type |
Description |
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 |
System.String |
policyName |
The policy name. This method does nothing if given policyName is null or empty.
|
Returns
CreateLocalizer()
Declaration
protected virtual IStringLocalizer CreateLocalizer()
Returns
Type |
Description |
IStringLocalizer |
|
LazyGetRequiredService<TService>(ref TService)
Declaration
protected TService LazyGetRequiredService<TService>(ref TService reference)
Parameters
Type |
Name |
Description |
TService |
reference |
|
Returns
Type |
Description |
TService |
|
Type Parameters
Name |
Description |
TService |
|
LazyGetRequiredService<TRef>(Type, ref TRef)
Declaration
protected TRef LazyGetRequiredService<TRef>(Type serviceType, ref TRef reference)
Parameters
Type |
Name |
Description |
Type |
serviceType |
|
TRef |
reference |
|
Returns
Type Parameters
Implements
IRemoteService
IAvoidDuplicateCrossCuttingConcerns
IUnitOfWorkEnabled
IAuditingEnabled
ITransientDependency
Extension Methods