Skip to content

CommentVmImpl

Namespace: SlottyMedia.Backend.ViewModel.Partial.PostPage

public class CommentVmImpl : ICommentVm

Inheritance ObjectCommentVmImpl
Implements ICommentVm

Properties

IsLoading

public bool IsLoading { get; private set; }

Property Value

Boolean

Dto

public CommentDto Dto { get; private set; }

Property Value

CommentDto

UserInfo

public UserInformationDto UserInfo { get; private set; }

Property Value

UserInformationDto

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

Task

GoToCreatorProfile()

public void GoToCreatorProfile()