Show / Hide Table of Contents

Class CommentDetail

Inheritance
object
ComponentBase
OwningComponentBase
AbpComponentBase
CmsKitProComponentBase
CommentDetail
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.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.Comments")]
[Route("/Cms/Comments/Details/{Id:guid}")]
public class CommentDetail : CmsKitProComponentBase, IComponent, IHandleEvent, IHandleAfterRender, IDisposable

Constructors

CommentDetail()

Declaration
public CommentDetail()

Fields

BreadcrumbItems

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

Comment

Declaration
protected CommentWithAuthorDto Comment
Field Value
Type Description
CommentWithAuthorDto

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>

Id

Declaration
[Parameter]
public Guid Id { get; set; }
Property Value
Type Description
Guid

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
Overrides
ComponentBase.BuildRenderTree(RenderTreeBuilder)

DeleteCommentAsync(CommentWithAuthorViewModel)

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

GetCommentAsync()

Declaration
protected virtual Task GetCommentAsync()
Returns
Type Description
Task

GetCommentsAsync()

Declaration
protected virtual Task GetCommentsAsync()
Returns
Type Description
Task

GetDeleteConfirmationMessage()

Declaration
protected virtual string GetDeleteConfirmationMessage()
Returns
Type Description
string

OnAfterRenderAsync(bool)

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

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
Overrides
ComponentBase.OnInitializedAsync()

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

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