Class AbpController
Inheritance
System.Object
AbpController
Implements
IAvoidDuplicateCrossCuttingConcerns
Assembly: Volo.Abp.AspNetCore.Mvc.dll
Syntax
public abstract class AbpController : Controller, IAvoidDuplicateCrossCuttingConcerns
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 |
| System.Collections.Generic.List<System.String> |
|
AuthorizationService
Declaration
protected IAuthorizationService AuthorizationService { get; }
Property Value
| Type |
Description |
| IAuthorizationService |
|
Clock
Declaration
protected IClock Clock { get; }
Property Value
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 |
|
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 |
| IStringLocalizer |
|
LocalizationResource
Declaration
protected Type LocalizationResource { get; set; }
Property Value
| Type |
Description |
| System.Type |
|
Logger
Declaration
protected ILogger Logger { get; }
Property Value
LoggerFactory
Declaration
protected ILoggerFactory LoggerFactory { get; }
Property Value
| Type |
Description |
| ILoggerFactory |
|
ModelValidator
Declaration
protected IModelStateValidator ModelValidator { get; }
Property Value
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
public IServiceProvider ServiceProvider { get; set; }
Property Value
| Type |
Description |
| System.IServiceProvider |
|
StringLocalizerFactory
Declaration
protected IStringLocalizerFactory StringLocalizerFactory { get; }
Property Value
| Type |
Description |
| IStringLocalizerFactory |
|
UnitOfWorkManager
Declaration
protected IUnitOfWorkManager UnitOfWorkManager { get; }
Property Value
| Type |
Description |
| IUnitOfWorkManager |
|
Methods
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 |
| System.Type |
serviceType |
|
| TRef |
reference |
|
Returns
Type Parameters
ValidateModel()
Declaration
protected virtual void ValidateModel()
Implements
IAvoidDuplicateCrossCuttingConcerns
Extension Methods