Inheritance
CommentManagement
Assembly: Volo.CmsKit.Pro.Admin.Blazor.dll
[Authorize("CmsKit.Comments")]
[Route("/Cms/Comments")]
public class CommentManagement : CmsKitProComponentBase
Constructors
Declaration
public CommentManagement()
Fields
Declaration
protected List<BreadcrumbItem> BreadcrumbItems
Field Value
Type |
Description |
List<BreadcrumbItem> |
|
Declaration
protected List<CommentManagement.CommentWithAuthorViewModel> Comments
Field Value
Declaration
protected int CurrentPage
Field Value
Declaration
protected string CurrentSorting
Field Value
Declaration
protected EntityActionDictionary EntityActions
Field Value
Type |
Description |
EntityActionDictionary |
|
Declaration
protected CommentGetListInput GetListInput
Field Value
Type |
Description |
CommentGetListInput |
|
Declaration
protected bool HasDeletePermission
Field Value
TableColumns
Declaration
protected TableColumnDictionary TableColumns
Field Value
Type |
Description |
TableColumnDictionary |
|
Declaration
protected int? TotalCount
Field Value
Properties
Declaration
[Inject]
protected ICommentAdminAppService CommentAdminAppService { get; set; }
Property Value
Type |
Description |
ICommentAdminAppService |
|
CommentsManagementTableColumns
Declaration
protected List<TableColumn> CommentsManagementTableColumns { get; }
Property Value
Type |
Description |
List<TableColumn> |
|
Declaration
public IReadOnlyList<DateTime?> DataRange { get; set; }
Property Value
Declaration
[Inject]
protected NavigationManager NavigationManager { get; set; }
Property Value
Declaration
protected virtual int PageSize { get; }
Property Value
Methods
Declaration
protected override void BuildRenderTree(RenderTreeBuilder __builder)
Parameters
Declaration
protected virtual Task DeleteCommentAsync(CommentManagement.CommentWithAuthorViewModel comment)
Parameters
Returns
Declaration
protected virtual Task GetCommentsAsync()
Returns
Declaration
protected virtual string GetDeleteConfirmationMessage()
Returns
Declaration
protected virtual Task OnDataGridReadAsync(DataGridReadDataEventArgs<CommentManagement.CommentWithAuthorViewModel> e)
Parameters
Returns
Declaration
protected override Task OnInitializedAsync()
Returns
Declaration
protected virtual Task OpenCommentDetailsAsync(CommentManagement.CommentWithAuthorViewModel comment)
Parameters
Returns
Declaration
protected virtual Task SearchCommentsAsync()
Returns
Declaration
protected virtual ValueTask SetBreadcrumbItemsAsync()
Returns
Declaration
protected virtual ValueTask SetEntityActionsAsync()
Returns
SetTableColumnsAsync()
Declaration
protected virtual ValueTask SetTableColumnsAsync()
Returns