Class AbpComponentBase
Inheritance
AbpComponentBase
Assembly: Volo.Abp.AspNetCore.Components.dll
Syntax
public abstract class AbpComponentBase : OwningComponentBase, IComponent, IHandleEvent, IHandleAfterRender, IDisposable
Constructors
AbpComponentBase()
Declaration
protected AbpComponentBase()
Properties
AlertManager
Declaration
protected IAlertManager AlertManager { get; }
Property Value
Alerts
Declaration
protected AlertList Alerts { 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
CurrentUser
Declaration
protected ICurrentUser CurrentUser { get; }
Property Value
L
Declaration
protected IStringLocalizer L { get; }
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
Message
Declaration
protected IUiMessageService Message { get; }
Property Value
NonScopedServices
Declaration
[Inject]
protected IServiceProvider NonScopedServices { get; set; }
Property Value
Notify
Declaration
protected IUiNotificationService Notify { get; }
Property Value
ObjectMapper
Declaration
protected IObjectMapper ObjectMapper { get; }
Property Value
ObjectMapperContext
Declaration
protected Type? ObjectMapperContext { get; set; }
Property Value
StringLocalizerFactory
Declaration
protected IStringLocalizerFactory StringLocalizerFactory { get; }
Property Value
Declaration
protected IUserExceptionInformer UserExceptionInformer { get; }
Property Value
Methods
CreateLocalizer()
Declaration
protected virtual IStringLocalizer CreateLocalizer()
Returns
HandleErrorAsync(Exception)
Declaration
protected virtual Task HandleErrorAsync(Exception exception)
Parameters
Returns
LazyGetNonScopedRequiredService<TRef>(Type, ref TRef)
Declaration
protected TRef LazyGetNonScopedRequiredService<TRef>(Type serviceType, ref TRef reference)
Parameters
Type |
Name |
Description |
Type |
serviceType |
|
TRef |
reference |
|
Returns
Type Parameters
LazyGetNonScopedRequiredService<TService>(ref TService)
Declaration
protected TService LazyGetNonScopedRequiredService<TService>(ref TService reference)
Parameters
Type |
Name |
Description |
TService |
reference |
|
Returns
Type |
Description |
TService |
|
Type Parameters
Name |
Description |
TService |
|
LazyGetNonScopedService<TRef>(Type, ref TRef?)
Declaration
protected TRef? LazyGetNonScopedService<TRef>(Type serviceType, ref TRef? reference)
Parameters
Type |
Name |
Description |
Type |
serviceType |
|
TRef |
reference |
|
Returns
Type Parameters
LazyGetNonScopedService<TService>(ref TService?)
Declaration
protected TService? LazyGetNonScopedService<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
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 |
|
LazyGetService<TRef>(Type, ref TRef?)
Declaration
protected TRef? LazyGetService<TRef>(Type serviceType, ref TRef? reference)
Parameters
Type |
Name |
Description |
Type |
serviceType |
|
TRef |
reference |
|
Returns
Type Parameters
LazyGetService<TService>(ref TService?)
Declaration
protected TService? LazyGetService<TService>(ref TService? reference)
Parameters
Type |
Name |
Description |
TService |
reference |
|
Returns
Type |
Description |
TService |
|
Type Parameters
Name |
Description |
TService |
|
Implements
Extension Methods