Show / Hide Table of Contents

Class AbpComponentBase

Inheritance
object
ComponentBase
OwningComponentBase
AbpComponentBase
AbpAccountComponentBase
AccountAdminSettingManagementComponent
AuthorityDelegationModal
LinkUsersModal
AbpAccountPublicMauiBlazorComponentBase
LoginDisplay
Authentication
AbpAuditLoggingComponentBase
HttpMethodColumnComponent
AbpCrudPageBase<TAppService, TGetOutputDto, TGetListOutputDto, TKey, TGetListInput, TCreateInput, TUpdateInput, TListViewModel, TCreateViewModel, TUpdateViewModel>
AbpFeatureManagementComponentBase
FeatureSettingManagementComponent
AbpIdentityProComponentBase
IdentityUserEmailConfirmedColumnComponent
IdentityUserImportDropdownComponent
IdentityUserIsActiveColumnComponent
IdentityUserLockoutEnabledColumnComponent
IdentityUserTwoFactorEnabledColumnComponent
IdentityUserUserNameComponent
IdentitySettingManagementComponent
LanguageManagementComponentBase
IsEnabledColumnComponent
LanguageNameColumnComponent
LeptonThemeSettingManagementComponent
AbpOpenIddictProComponentBase
PermissionManagementModal
EmailSettingGroupViewComponent
TimeZoneSettingGroupViewComponent
IsInlineColumnComponent
IsLayoutColumnComponent
TextTemplateManagementComponentBase
CmsKitProComponentBase
NewslettersImportDropdownComponent
SassComponentBase
Implements
IComponent
IHandleEvent
IHandleAfterRender
IDisposable
Inherited Members
OwningComponentBase.Dispose(bool)
OwningComponentBase.IsDisposed
OwningComponentBase.ScopedServices
ComponentBase.BuildRenderTree(RenderTreeBuilder)
ComponentBase.OnInitialized()
ComponentBase.OnInitializedAsync()
ComponentBase.OnParametersSet()
ComponentBase.OnParametersSetAsync()
ComponentBase.StateHasChanged()
ComponentBase.ShouldRender()
ComponentBase.OnAfterRender(bool)
ComponentBase.OnAfterRenderAsync(bool)
ComponentBase.InvokeAsync(Action)
ComponentBase.InvokeAsync(Func<Task>)
ComponentBase.DispatchExceptionAsync(Exception)
ComponentBase.SetParametersAsync(ParameterView)
ComponentBase.RendererInfo
ComponentBase.Assets
ComponentBase.AssignedRenderMode
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Volo.Abp.AspNetCore.Components
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
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

CurrentUser

Declaration
protected ICurrentUser CurrentUser { get; }
Property Value
Type Description
ICurrentUser

L

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

LocalizationResource

Declaration
protected Type? LocalizationResource { get; set; }
Property Value
Type Description
Type

Logger

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

LoggerFactory

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

Message

Declaration
protected IUiMessageService Message { get; }
Property Value
Type Description
IUiMessageService

NonScopedServices

Declaration
[Inject]
protected IServiceProvider NonScopedServices { get; set; }
Property Value
Type Description
IServiceProvider

Notify

Declaration
protected IUiNotificationService Notify { get; }
Property Value
Type Description
IUiNotificationService

ObjectMapper

Declaration
protected IObjectMapper ObjectMapper { get; }
Property Value
Type Description
IObjectMapper

ObjectMapperContext

Declaration
protected Type? ObjectMapperContext { get; set; }
Property Value
Type Description
Type

StringLocalizerFactory

Declaration
protected IStringLocalizerFactory StringLocalizerFactory { get; }
Property Value
Type Description
IStringLocalizerFactory

UserExceptionInformer

Declaration
protected IUserExceptionInformer UserExceptionInformer { get; }
Property Value
Type Description
IUserExceptionInformer

Methods

CreateLocalizer()

Declaration
protected virtual IStringLocalizer CreateLocalizer()
Returns
Type Description
IStringLocalizer

HandleErrorAsync(Exception)

Declaration
protected virtual Task HandleErrorAsync(Exception exception)
Parameters
Type Name Description
Exception exception
Returns
Type Description
Task

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

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

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

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

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

IComponent
IHandleEvent
IHandleAfterRender
IDisposable

Extension Methods

AbpObjectExtensions.As<T>(object)
AbpObjectExtensions.To<T>(object)
LockExtensions.Locking(object, Action)
LockExtensions.Locking<TResult>(object, Func<TResult>)
AbpObjectExtensions.If<T>(T, bool, Action<T>)
AbpObjectExtensions.If<T>(T, bool, Func<T, T>)
AbpObjectExtensions.IsIn<T>(T, IEnumerable<T>)
AbpObjectExtensions.IsIn<T>(T, params T[])
AbpQueryableExtensions.OrderByIf<T, TQueryable>(TQueryable, bool, string)
AbpQueryableExtensions.PageBy<T, TQueryable>(TQueryable, int, int)
AbpQueryableExtensions.WhereIf<T, TQueryable>(TQueryable, bool, Expression<Func<T, bool>>)
AbpQueryableExtensions.WhereIf<T, TQueryable>(TQueryable, bool, Expression<Func<T, int, bool>>)
AbpOpenIddictQueryableExtensions.SkipIf<T, TQueryable>(TQueryable, bool, int?)
AbpOpenIddictQueryableExtensions.TakeIf<T, TQueryable>(TQueryable, bool, int?)
LockExtensions.Locking<T>(T, Action<T>)
LockExtensions.Locking<T, TResult>(T, Func<T, TResult>)
In this article
Back to top Powered by ABP.IO Platform