Class AbpComponentBase
Inheritance
object
Microsoft.AspNetCore.Components.ComponentBase
Microsoft.AspNetCore.Components.OwningComponentBase
AbpComponentBase
Implements
Microsoft.AspNetCore.Components.IComponent
Microsoft.AspNetCore.Components.IHandleEvent
Microsoft.AspNetCore.Components.IHandleAfterRender
System.IDisposable
Inherited Members
Microsoft.AspNetCore.Components.OwningComponentBase.Dispose(bool)
Microsoft.AspNetCore.Components.OwningComponentBase.IsDisposed
Microsoft.AspNetCore.Components.OwningComponentBase.ScopedServices
Microsoft.AspNetCore.Components.ComponentBase.BuildRenderTree(Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder)
Microsoft.AspNetCore.Components.ComponentBase.OnInitialized()
Microsoft.AspNetCore.Components.ComponentBase.OnInitializedAsync()
Microsoft.AspNetCore.Components.ComponentBase.OnParametersSet()
Microsoft.AspNetCore.Components.ComponentBase.OnParametersSetAsync()
Microsoft.AspNetCore.Components.ComponentBase.StateHasChanged()
Microsoft.AspNetCore.Components.ComponentBase.ShouldRender()
Microsoft.AspNetCore.Components.ComponentBase.OnAfterRender(bool)
Microsoft.AspNetCore.Components.ComponentBase.OnAfterRenderAsync(bool)
Microsoft.AspNetCore.Components.ComponentBase.InvokeAsync(System.Action)
Microsoft.AspNetCore.Components.ComponentBase.InvokeAsync(System.Func<System.Threading.Tasks.Task>)
Microsoft.AspNetCore.Components.ComponentBase.SetParametersAsync(Microsoft.AspNetCore.Components.ParameterView)
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
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
| Type |
Description |
| Microsoft.AspNetCore.Authorization.IAuthorizationService |
|
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
| Type |
Description |
| Microsoft.Extensions.Localization.IStringLocalizer |
|
LocalizationResource
Declaration
protected Type LocalizationResource { get; set; }
Property Value
| Type |
Description |
| System.Type |
|
Logger
Declaration
protected ILogger Logger { get; }
Property Value
| Type |
Description |
| Microsoft.Extensions.Logging.ILogger |
|
LoggerFactory
Declaration
protected ILoggerFactory LoggerFactory { get; }
Property Value
| Type |
Description |
| Microsoft.Extensions.Logging.ILoggerFactory |
|
Message
Declaration
protected IUiMessageService Message { get; }
Property Value
NonScopedServices
Declaration
[Inject]
protected IServiceProvider NonScopedServices { get; set; }
Property Value
| Type |
Description |
| System.IServiceProvider |
|
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
| Type |
Description |
| System.Type |
|
StringLocalizerFactory
Declaration
protected IStringLocalizerFactory StringLocalizerFactory { get; }
Property Value
| Type |
Description |
| Microsoft.Extensions.Localization.IStringLocalizerFactory |
|
Declaration
protected IUserExceptionInformer UserExceptionInformer { get; }
Property Value
Methods
CreateLocalizer()
Declaration
protected virtual IStringLocalizer CreateLocalizer()
Returns
| Type |
Description |
| Microsoft.Extensions.Localization.IStringLocalizer |
|
HandleErrorAsync(Exception)
Declaration
protected virtual Task HandleErrorAsync(Exception exception)
Parameters
| Type |
Name |
Description |
| System.Exception |
exception |
|
Returns
| Type |
Description |
| System.Threading.Tasks.Task |
|
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 |
|
LazyGetNonScopedRequiredService<TRef>(Type, ref TRef)
Declaration
protected TRef LazyGetNonScopedRequiredService<TRef>(Type serviceType, ref TRef reference)
Parameters
| Type |
Name |
Description |
| System.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 |
|
LazyGetNonScopedService<TRef>(Type, ref TRef)
Declaration
protected TRef LazyGetNonScopedService<TRef>(Type serviceType, ref TRef reference)
Parameters
| Type |
Name |
Description |
| System.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 |
|
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
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 |
|
LazyGetService<TRef>(Type, ref TRef)
Declaration
protected TRef LazyGetService<TRef>(Type serviceType, ref TRef reference)
Parameters
| Type |
Name |
Description |
| System.Type |
serviceType |
|
| TRef |
reference |
|
Returns
Type Parameters
Implements
Microsoft.AspNetCore.Components.IComponent
Microsoft.AspNetCore.Components.IHandleEvent
Microsoft.AspNetCore.Components.IHandleAfterRender
System.IDisposable
Extension Methods