Show / Hide Table of Contents

Class CommentManagement

Inheritance
object
CmsKitProComponentBase
CommentManagement
Namespace: Volo.CmsKit.Pro.Admin.Blazor.Pages.CmsKit
Assembly: Volo.CmsKit.Pro.Admin.Blazor.dll
Syntax
[Authorize("CmsKit.Comments")]
[Route("/Cms/Comments")]
public class CommentManagement : CmsKitProComponentBase

Constructors

CommentManagement()

Declaration
public CommentManagement()

Fields

BreadcrumbItems

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

Comments

Declaration
protected List<CommentManagement.CommentWithAuthorViewModel> Comments
Field Value
Type Description
List<CommentManagement.CommentWithAuthorViewModel>

CurrentPage

Declaration
protected int CurrentPage
Field Value
Type Description
int

CurrentSorting

Declaration
protected string CurrentSorting
Field Value
Type Description
string

EntityActions

Declaration
protected EntityActionDictionary EntityActions
Field Value
Type Description
EntityActionDictionary

GetListInput

Declaration
protected CommentGetListInput GetListInput
Field Value
Type Description
CommentGetListInput

HasDeletePermission

Declaration
protected bool HasDeletePermission
Field Value
Type Description
bool

TableColumns

Declaration
protected TableColumnDictionary TableColumns
Field Value
Type Description
TableColumnDictionary

TotalCount

Declaration
protected int? TotalCount
Field Value
Type Description
int?

Properties

CommentAdminAppService

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>

DataRange

Declaration
public IReadOnlyList<DateTime?> DataRange { get; set; }
Property Value
Type Description
IReadOnlyList<DateTime?>

NavigationManager

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

PageSize

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

Methods

BuildRenderTree(RenderTreeBuilder)

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

DeleteCommentAsync(CommentWithAuthorViewModel)

Declaration
protected virtual Task DeleteCommentAsync(CommentManagement.CommentWithAuthorViewModel comment)
Parameters
Type Name Description
CommentManagement.CommentWithAuthorViewModel comment
Returns
Type Description
Task

GetCommentsAsync()

Declaration
protected virtual Task GetCommentsAsync()
Returns
Type Description
Task

GetDeleteConfirmationMessage()

Declaration
protected virtual string GetDeleteConfirmationMessage()
Returns
Type Description
string

OnDataGridReadAsync(DataGridReadDataEventArgs<CommentWithAuthorViewModel>)

Declaration
protected virtual Task OnDataGridReadAsync(DataGridReadDataEventArgs<CommentManagement.CommentWithAuthorViewModel> e)
Parameters
Type Name Description
DataGridReadDataEventArgs<CommentWithAuthorViewModel> e
Returns
Type Description
Task

OnInitializedAsync()

Declaration
protected override Task OnInitializedAsync()
Returns
Type Description
Task

OpenCommentDetailsAsync(CommentWithAuthorViewModel)

Declaration
protected virtual Task OpenCommentDetailsAsync(CommentManagement.CommentWithAuthorViewModel comment)
Parameters
Type Name Description
CommentManagement.CommentWithAuthorViewModel comment
Returns
Type Description
Task

SearchCommentsAsync()

Declaration
protected virtual Task SearchCommentsAsync()
Returns
Type Description
Task

SetBreadcrumbItemsAsync()

Declaration
protected virtual ValueTask SetBreadcrumbItemsAsync()
Returns
Type Description
ValueTask

SetEntityActionsAsync()

Declaration
protected virtual ValueTask SetEntityActionsAsync()
Returns
Type Description
ValueTask

SetTableColumnsAsync()

Declaration
protected virtual ValueTask SetTableColumnsAsync()
Returns
Type Description
ValueTask
In this article
Back to top Powered by Volosoft