Class AbpController
Inheritance
AbpController
Assembly: Volo.Abp.AspNetCore.Mvc.dll
Syntax
public abstract class AbpController : Controller, IActionFilter, IAsyncActionFilter, IFilterMetadata, IDisposable, IAvoidDuplicateCrossCuttingConcerns
Constructors
AbpController()
Declaration
protected AbpController()
Properties
AppUrlProvider
Declaration
protected IAppUrlProvider AppUrlProvider { get; }
Property Value
AppliedCrossCuttingConcerns
Declaration
public List<string> AppliedCrossCuttingConcerns { get; }
Property Value
AuthorizationService
Declaration
protected IAuthorizationService AuthorizationService { get; }
Property Value
Clock
Declaration
protected IClock Clock { get; }
Property Value
CurrentTenant
Declaration
protected ICurrentTenant CurrentTenant { get; }
Property Value
CurrentUnitOfWork
Declaration
protected IUnitOfWork? CurrentUnitOfWork { get; }
Property Value
CurrentUser
Declaration
protected ICurrentUser CurrentUser { get; }
Property Value
FeatureChecker
Declaration
protected IFeatureChecker FeatureChecker { get; }
Property Value
GuidGenerator
Declaration
protected IGuidGenerator GuidGenerator { get; }
Property Value
L
Declaration
protected IStringLocalizer L { get; }
Property Value
LazyServiceProvider
Declaration
public IAbpLazyServiceProvider LazyServiceProvider { get; set; }
Property Value
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
ModelValidator
Declaration
protected IModelStateValidator ModelValidator { get; }
Property Value
ObjectMapper
Declaration
protected IObjectMapper ObjectMapper { get; }
Property Value
ObjectMapperContext
Declaration
protected Type? ObjectMapperContext { get; set; }
Property Value
ServiceProvider
Declaration
[Obsolete("Use LazyServiceProvider instead.")]
public IServiceProvider ServiceProvider { get; set; }
Property Value
StringLocalizerFactory
Declaration
protected IStringLocalizerFactory StringLocalizerFactory { get; }
Property Value
UnitOfWorkManager
Declaration
protected IUnitOfWorkManager UnitOfWorkManager { get; }
Property Value
Methods
CreateLocalizer()
Declaration
protected virtual IStringLocalizer CreateLocalizer()
Returns
GetAppHomeUrlAsync()
Declaration
protected virtual Task<string> GetAppHomeUrlAsync()
Returns
GetRedirectUrlAsync(string, string?)
Declaration
protected virtual Task<string> GetRedirectUrlAsync(string returnUrl, string? returnUrlHash = null)
Parameters
Returns
NormalizeReturnUrlAsync(string)
Declaration
protected virtual Task<string> NormalizeReturnUrlAsync(string returnUrl)
Parameters
Type |
Name |
Description |
string |
returnUrl |
|
Returns
RedirectSafelyAsync(string, string?)
Declaration
protected virtual Task<RedirectResult> RedirectSafelyAsync(string returnUrl, string? returnUrlHash = null)
Parameters
Returns
ValidateModel()
Declaration
protected virtual void ValidateModel()
Implements
Extension Methods