Show / Hide Table of Contents

Class AbpPageModel

Inheritance
System.Object
AbpPageModel
Namespace: Volo.Abp.AspNetCore.Mvc.UI.RazorPages
Assembly: Volo.Abp.AspNetCore.Mvc.UI.dll
Syntax
public abstract class AbpPageModel : PageModel

Fields

ServiceProviderLock

Declaration
protected readonly object ServiceProviderLock
Field Value
Type Description
System.Object

Properties

AlertManager

Declaration
protected IAlertManager AlertManager { get; }
Property Value
Type Description
IAlertManager

Alerts

Declaration
protected AlertList Alerts { get; }
Property Value
Type Description
AlertList

AuthorizationService

Declaration
protected IAuthorizationService AuthorizationService { get; }
Property Value
Type Description
IAuthorizationService

Clock

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

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

GuidGenerator

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

L

Declaration
protected IStringLocalizer L { get; }
Property Value
Type Description
IStringLocalizer

LocalizationResourceType

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

Logger

Declaration
protected ILogger Logger { get; }
Property Value
Type Description
ILogger

LoggerFactory

Declaration
protected ILoggerFactory LoggerFactory { get; }
Property Value
Type Description
ILoggerFactory

ModelValidator

Declaration
protected IModelStateValidator ModelValidator { get; }
Property Value
Type Description
IModelStateValidator

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

SettingProvider

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

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
Returns
Type Description
System.Threading.Tasks.Task

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 Description
TRef
Type Parameters
Name Description
TRef

NoContent()

Declaration
protected virtual NoContentResult NoContent()
Returns
Type Description
NoContentResult

PartialView<TModel>(String, TModel)

Declaration
protected virtual PartialViewResult PartialView<TModel>(string viewName, TModel model)
Parameters
Type Name Description
System.String viewName
TModel model
Returns
Type Description
PartialViewResult
Type Parameters
Name Description
TModel

ValidateModel()

Declaration
protected virtual void ValidateModel()

Extension Methods

AbpObjectExtensions.As<T>(Object)
AbpObjectExtensions.To<T>(Object)
AbpObjectExtensions.IsIn<T>(T, T[])
AbpObjectExtensions.If<T>(T, Boolean, Func<T, T>)
AbpObjectExtensions.If<T>(T, Boolean, Action<T>)
LockExtensions.Locking(Object, Action)
LockExtensions.Locking<T>(T, Action<T>)
LockExtensions.Locking<TResult>(Object, Func<TResult>)
LockExtensions.Locking<T, TResult>(T, Func<T, TResult>)
Back to top Powered by Volosoft