CommentVmImpl
Namespace: SlottyMedia.Backend.ViewModel.Partial.PostPage
public class CommentVmImpl : ICommentVm
Inheritance Object → CommentVmImpl
Implements ICommentVm
Properties
IsLoading
public bool IsLoading { get; private set; }
Property Value
Dto
public CommentDto Dto { get; private set; }
Property Value
UserInfo
public UserInformationDto UserInfo { get; private set; }
Property Value
Constructors
CommentVmImpl(ICommentService, IUserService, NavigationManager)
The constructor for the CommentVmImpl.
public CommentVmImpl(ICommentService commentService, IUserService userService, NavigationManager navigationManager)
Parameters
commentService ICommentService
userService IUserService
navigationManager NavigationManager
Methods
Initialize(Guid)
public Task Initialize(Guid commentId)
Parameters
commentId Guid
Returns
GoToCreatorProfile()
public void GoToCreatorProfile()