Show / Hide Table of Contents

Class AbpComponentBase

Inheritance
object
Microsoft.AspNetCore.Components.ComponentBase
Microsoft.AspNetCore.Components.OwningComponentBase
AbpComponentBase
AbpCrudPageBase<TAppService, TGetOutputDto, TGetListOutputDto, TKey, TGetListInput, TCreateInput, TUpdateInput, TListViewModel, TCreateViewModel, TUpdateViewModel>
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()
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
Microsoft.AspNetCore.Authorization.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
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
Type Description
IUiMessageService

NonScopedServices

Declaration
[Inject]
protected IServiceProvider NonScopedServices { get; set; }
Property Value
Type Description
System.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
System.Type

StringLocalizerFactory

Declaration
protected IStringLocalizerFactory StringLocalizerFactory { get; }
Property Value
Type Description
Microsoft.Extensions.Localization.IStringLocalizerFactory

UserExceptionInformer

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

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 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

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 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

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

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

Implements

Microsoft.AspNetCore.Components.IComponent
Microsoft.AspNetCore.Components.IHandleEvent
Microsoft.AspNetCore.Components.IHandleAfterRender
System.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>>)
LockExtensions.Locking<T>(T, Action<T>)
LockExtensions.Locking<T, TResult>(T, Func<T, TResult>)
In This Article
Back to top Powered by Volosoft