Skip to content

PostPage

Namespace: SlottyMedia.Components.Pages

public class PostPage : Microsoft.AspNetCore.Components.ComponentBase, Microsoft.AspNetCore.Components.IComponent, Microsoft.AspNetCore.Components.IHandleEvent, Microsoft.AspNetCore.Components.IHandleAfterRender

Inheritance Object → ComponentBase → PostPage
Implements IComponent, IHandleEvent, IHandleAfterRender

Properties

PostId

The ID of the post to showcase

public Nullable<Guid> PostId { get; set; }

Property Value

Nullable<Guid>

ViewModel

The ViewModel for this component

public IPostPageVm ViewModel { get; set; }

Property Value

IPostPageVm

Constructors

PostPage()

public PostPage()

Methods

BuildRenderTree(RenderTreeBuilder)

protected void BuildRenderTree(RenderTreeBuilder __builder)

Parameters

__builder RenderTreeBuilder

OnParametersSetAsync()

protected Task OnParametersSetAsync()

Returns

Task