Show / Hide Table of Contents

Class AuthorityDelegationModal

Inheritance
object
ComponentBase
OwningComponentBase
AbpComponentBase
AuthorityDelegationModal
Implements
IComponent
IHandleEvent
IHandleAfterRender
IDisposable
Inherited Members
AbpComponentBase.LazyGetRequiredService<TService>(ref TService)
AbpComponentBase.LazyGetRequiredService<TRef>(Type, ref TRef)
AbpComponentBase.LazyGetService<TService>(ref TService)
AbpComponentBase.LazyGetService<TRef>(Type, ref TRef)
AbpComponentBase.LazyGetNonScopedRequiredService<TService>(ref TService)
AbpComponentBase.LazyGetNonScopedRequiredService<TRef>(Type, ref TRef)
AbpComponentBase.LazyGetNonScopedService<TService>(ref TService)
AbpComponentBase.LazyGetNonScopedService<TRef>(Type, ref TRef)
AbpComponentBase.CreateLocalizer()
AbpComponentBase.HandleErrorAsync(Exception)
AbpComponentBase.StringLocalizerFactory
AbpComponentBase.L
AbpComponentBase.LocalizationResource
AbpComponentBase.Logger
AbpComponentBase.LoggerFactory
AbpComponentBase.AuthorizationService
AbpComponentBase.CurrentUser
AbpComponentBase.CurrentTenant
AbpComponentBase.Message
AbpComponentBase.Notify
AbpComponentBase.UserExceptionInformer
AbpComponentBase.AlertManager
AbpComponentBase.Clock
AbpComponentBase.Alerts
AbpComponentBase.ObjectMapper
AbpComponentBase.ObjectMapperContext
AbpComponentBase.NonScopedServices
OwningComponentBase.Dispose(bool)
OwningComponentBase.IsDisposed
OwningComponentBase.ScopedServices
ComponentBase.OnInitialized()
ComponentBase.OnInitializedAsync()
ComponentBase.OnParametersSet()
ComponentBase.OnParametersSetAsync()
ComponentBase.StateHasChanged()
ComponentBase.ShouldRender()
ComponentBase.OnAfterRender(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.Account.Pro.Public.Blazor.Shared.Pages.Account.AuthorityDelegation
Assembly: Volo.Abp.Account.Pro.Public.Blazor.Shared.dll
Syntax
public class AuthorityDelegationModal : AbpComponentBase, IComponent, IHandleEvent, IHandleAfterRender, IDisposable

Constructors

AuthorityDelegationModal()

Declaration
public AuthorityDelegationModal()

Fields

DelegateNewUserDataRange

Declaration
protected IReadOnlyList<DateTime?> DelegateNewUserDataRange
Field Value
Type Description
IReadOnlyList<DateTime?>

SelectedTab

Declaration
protected string SelectedTab
Field Value
Type Description
string

_delegateNewUserModal

Declaration
protected Modal _delegateNewUserModal
Field Value
Type Description
Modal

_deleteConfirmationModal

Declaration
protected Modal _deleteConfirmationModal
Field Value
Type Description
Modal

_modal

Declaration
protected Modal _modal
Field Value
Type Description
Modal

Properties

DelegateNewUserInput

Declaration
protected DelegateNewUserInput DelegateNewUserInput { get; set; }
Property Value
Type Description
DelegateNewUserInput

DelegatedUsers

Declaration
protected ListResultDto<UserDelegationDto> DelegatedUsers { get; set; }
Property Value
Type Description
ListResultDto<UserDelegationDto>

DeleteConfirmationMessage

Declaration
protected string DeleteConfirmationMessage { get; set; }
Property Value
Type Description
string

DeleteId

Declaration
protected Guid DeleteId { get; set; }
Property Value
Type Description
Guid

JSRuntime

Declaration
[Inject]
protected IJSRuntime JSRuntime { get; set; }
Property Value
Type Description
IJSRuntime

JsRuntime

Declaration
[Inject]
protected IJSRuntime JsRuntime { get; set; }
Property Value
Type Description
IJSRuntime

MyDelegatedUsers

Declaration
protected ListResultDto<UserDelegationDto> MyDelegatedUsers { get; set; }
Property Value
Type Description
ListResultDto<UserDelegationDto>

NavigationManager

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

Options

Declaration
[Inject]
protected IOptions<AbpAccountAuthorityDelegationOptions> Options { get; set; }
Property Value
Type Description
IOptions<AbpAccountAuthorityDelegationOptions>

PageSize

Declaration
protected int PageSize { get; set; }
Property Value
Type Description
int

UserDelegationAppService

Declaration
[Inject]
protected IIdentityUserDelegationAppService UserDelegationAppService { get; set; }
Property Value
Type Description
IIdentityUserDelegationAppService

Users

Declaration
protected ListResultDto<UserLookupDto> Users { get; set; }
Property Value
Type Description
ListResultDto<UserLookupDto>

Methods

BuildRenderTree(RenderTreeBuilder)

Declaration
protected override void BuildRenderTree(RenderTreeBuilder __builder)
Parameters
Type Name Description
RenderTreeBuilder __builder
Overrides
ComponentBase.BuildRenderTree(RenderTreeBuilder)

CloseConfirmationModal()

Declaration
protected virtual Task CloseConfirmationModal()
Returns
Type Description
Task

CloseDelegateNewUserModal()

Declaration
protected virtual Task CloseDelegateNewUserModal()
Returns
Type Description
Task

CloseModalAsync()

Declaration
protected virtual Task CloseModalAsync()
Returns
Type Description
Task

ClosingDeleteConfirmationModal(ModalClosingEventArgs)

Declaration
protected virtual Task ClosingDeleteConfirmationModal(ModalClosingEventArgs eventArgs)
Parameters
Type Name Description
ModalClosingEventArgs eventArgs
Returns
Type Description
Task

ClosingModal(ModalClosingEventArgs)

Declaration
protected virtual Task ClosingModal(ModalClosingEventArgs eventArgs)
Parameters
Type Name Description
ModalClosingEventArgs eventArgs
Returns
Type Description
Task

DelegateNewUserAsync()

Declaration
protected virtual Task DelegateNewUserAsync()
Returns
Type Description
Task

DelegatedImpersonate(UserDelegationDto)

Declaration
protected virtual Task DelegatedImpersonate(UserDelegationDto context)
Parameters
Type Name Description
UserDelegationDto context
Returns
Type Description
Task

DeleteDelegatedUsersAsync()

Declaration
protected virtual Task DeleteDelegatedUsersAsync()
Returns
Type Description
Task

GetDelegatedUsersAsync()

Declaration
protected virtual Task GetDelegatedUsersAsync()
Returns
Type Description
Task

GetMyDelegatedUsersAsync()

Declaration
protected virtual Task GetMyDelegatedUsersAsync()
Returns
Type Description
Task

GetStatus(UserDelegationDto)

Declaration
protected virtual string GetStatus(UserDelegationDto content)
Parameters
Type Name Description
UserDelegationDto content
Returns
Type Description
string

GetStatusBadge(string)

Declaration
protected virtual string GetStatusBadge(string status)
Parameters
Type Name Description
string status
Returns
Type Description
string

GetUserLookupAsync(AutocompleteReadDataEventArgs)

Declaration
protected virtual Task GetUserLookupAsync(AutocompleteReadDataEventArgs autocompleteReadDataEventArgs)
Parameters
Type Name Description
AutocompleteReadDataEventArgs autocompleteReadDataEventArgs
Returns
Type Description
Task

IsActive(UserDelegationDto)

Declaration
protected bool IsActive(UserDelegationDto content)
Parameters
Type Name Description
UserDelegationDto content
Returns
Type Description
bool

OnAfterRenderAsync(bool)

Declaration
protected override Task OnAfterRenderAsync(bool firstRender)
Parameters
Type Name Description
bool firstRender
Returns
Type Description
Task
Overrides
ComponentBase.OnAfterRenderAsync(bool)

OnSelectedTabChangedAsync(string)

Declaration
protected virtual Task OnSelectedTabChangedAsync(string name)
Parameters
Type Name Description
string name
Returns
Type Description
Task

OpenDelegateNewUserModalAsync()

Declaration
protected virtual Task OpenDelegateNewUserModalAsync()
Returns
Type Description
Task

OpenDeleteConfirmationModalAsync(Guid, string)

Declaration
protected virtual Task OpenDeleteConfirmationModalAsync(Guid id, string userName)
Parameters
Type Name Description
Guid id
string userName
Returns
Type Description
Task

OpenModalAsync()

Declaration
protected virtual Task OpenModalAsync()
Returns
Type Description
Task

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