Show / Hide Table of Contents

Class MenuManagement

Inheritance
object
ComponentBase
OwningComponentBase
AbpComponentBase
CmsKitProComponentBase
MenuManagement
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.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.CmsKit.Pro.Admin.Blazor.Pages.CmsKit
Assembly: Volo.CmsKit.Pro.Admin.Blazor.dll
Syntax
[Authorize("CmsKit.Menus")]
[Route("/Cms/Menus/Items")]
public class MenuManagement : CmsKitProComponentBase, IComponent, IHandleEvent, IHandleAfterRender, IDisposable

Constructors

MenuManagement()

Declaration
public MenuManagement()

Fields

BreadcrumbItems

Declaration
protected List<BreadcrumbItem> BreadcrumbItems
Field Value
Type Description
List<BreadcrumbItem>

CreateModal

Declaration
protected Modal CreateModal
Field Value
Type Description
Modal

CreateValidationsRef

Declaration
protected Validations CreateValidationsRef
Field Value
Type Description
Validations

EditModal

Declaration
protected Modal EditModal
Field Value
Type Description
Modal

EditValidationsRef

Declaration
protected Validations EditValidationsRef
Field Value
Type Description
Validations

SelectedTab

Declaration
protected string SelectedTab
Field Value
Type Description
string

Properties

EditingMenuItem

Declaration
protected MenuManagement.MenuItemUpdateViewModel EditingMenuItem { get; set; }
Property Value
Type Description
MenuManagement.MenuItemUpdateViewModel

EditingMenuItemId

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

FeatureChecker

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

HasCreatePermission

Declaration
protected bool HasCreatePermission { get; set; }
Property Value
Type Description
bool

HasDeletePermission

Declaration
protected bool HasDeletePermission { get; set; }
Property Value
Type Description
bool

HasUpdatePermission

Declaration
protected bool HasUpdatePermission { get; set; }
Property Value
Type Description
bool

IsPageFeatureEnabled

Declaration
protected bool IsPageFeatureEnabled { get; set; }
Property Value
Type Description
bool

MenuItemAdminAppService

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

MenuItems

Declaration
protected ListResultDto<MenuItemDto> MenuItems { get; set; }
Property Value
Type Description
ListResultDto<MenuItemDto>

MenuTrees

Declaration
protected List<MenuManagement.MenuItemTreeViewModel> MenuTrees { get; set; }
Property Value
Type Description
List<MenuManagement.MenuItemTreeViewModel>

NewMenuItem

Declaration
protected MenuManagement.MenuItemCreateViewModel NewMenuItem { get; set; }
Property Value
Type Description
MenuManagement.MenuItemCreateViewModel

PageAdminAppService

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

Pages

Declaration
protected IReadOnlyList<PageDto> Pages { get; set; }
Property Value
Type Description
IReadOnlyList<PageDto>

Toolbar

Declaration
protected PageToolbar Toolbar { get; }
Property Value
Type Description
PageToolbar

Methods

BuildRenderTree(RenderTreeBuilder)

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

CheckIsPageFeatureEnabledAsync()

Declaration
protected virtual Task CheckIsPageFeatureEnabledAsync()
Returns
Type Description
Task

CloseCreateModalAsync()

Declaration
protected virtual Task CloseCreateModalAsync()
Returns
Type Description
Task

CloseEditModalAsync()

Declaration
protected virtual Task CloseEditModalAsync()
Returns
Type Description
Task

ClosingModal(ModalClosingEventArgs)

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

CreateMenuItemAsync()

Declaration
protected virtual Task CreateMenuItemAsync()
Returns
Type Description
Task

DeleteMenuItemAsync(MenuItemTreeViewModel)

Declaration
protected virtual Task DeleteMenuItemAsync(MenuManagement.MenuItemTreeViewModel menuItem)
Parameters
Type Name Description
MenuManagement.MenuItemTreeViewModel menuItem
Returns
Type Description
Task

GetMenuTreesAsync()

Declaration
protected virtual Task GetMenuTreesAsync()
Returns
Type Description
Task

GetPagesAsync()

Declaration
protected virtual Task GetPagesAsync()
Returns
Type Description
Task

OnInitializedAsync()

Declaration
protected override Task OnInitializedAsync()
Returns
Type Description
Task
Overrides
ComponentBase.OnInitializedAsync()

OnSelectedTabChangedAsync(string)

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

OpenCreatePageAsync(Guid?)

Declaration
protected virtual Task OpenCreatePageAsync(Guid? parentId = null)
Parameters
Type Name Description
Guid? parentId
Returns
Type Description
Task

OpenUpdatePageAsync(Guid)

Declaration
protected virtual Task OpenUpdatePageAsync(Guid id)
Parameters
Type Name Description
Guid id
Returns
Type Description
Task

SetBreadcrumbItemsAsync()

Declaration
protected virtual ValueTask SetBreadcrumbItemsAsync()
Returns
Type Description
ValueTask

SetPermissionsAsync()

Declaration
protected virtual ValueTask SetPermissionsAsync()
Returns
Type Description
ValueTask

SetToolbarItemsAsync()

Declaration
protected virtual ValueTask SetToolbarItemsAsync()
Returns
Type Description
ValueTask

UpdateMenuItemAsync()

Declaration
protected virtual Task UpdateMenuItemAsync()
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