Inheritance
CommentManagement
Assembly: Volo.CmsKit.Pro.Admin.Blazor.dll
[Authorize("CmsKit.Comments")]
[Route("/Cms/Comments")]
public class CommentManagement : CmsKitProComponentBase, IComponent, IHandleEvent, IHandleAfterRender, IDisposable
Constructors
Declaration
public CommentManagement()
Fields
Declaration
protected List<BreadcrumbItem> BreadcrumbItems
Field Value
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
Declaration
protected CommentGetListInput GetListInput
Field Value
Declaration
protected bool HasDeletePermission
Field Value
TableColumns
Declaration
protected TableColumnDictionary TableColumns
Field Value
Declaration
protected int? TotalCount
Field Value
Properties
Declaration
[Inject]
protected ICommentAdminAppService CommentAdminAppService { get; set; }
Property Value
CommentsManagementTableColumns
Declaration
protected List<TableColumn> CommentsManagementTableColumns { get; }
Property Value
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
Overrides
Declaration
protected virtual Task DeleteCommentAsync(CommentManagement.CommentWithAuthorViewModel comment)
Parameters
Returns
Declaration
protected virtual Task GetCommentsAsync()
Returns
Declaration
protected virtual string GetDeleteConfirmationMessage()
Returns
Declaration
protected override Task OnAfterRenderAsync(bool firstRender)
Parameters
Type |
Name |
Description |
bool |
firstRender |
|
Returns
Overrides
Declaration
protected virtual Task OnDataGridReadAsync(DataGridReadDataEventArgs<CommentManagement.CommentWithAuthorViewModel> e)
Parameters
Returns
Declaration
protected override Task OnInitializedAsync()
Returns
Overrides
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
Implements
Extension Methods