Profile
Namespace: SlottyMedia.Components.Pages
public class Profile : Microsoft.AspNetCore.Components.ComponentBase, Microsoft.AspNetCore.Components.IComponent, Microsoft.AspNetCore.Components.IHandleEvent, Microsoft.AspNetCore.Components.IHandleAfterRender
Inheritance Object → ComponentBase → Profile
Implements IComponent, IHandleEvent, IHandleAfterRender
Properties
UserId
The user id of the profile page
public Guid UserId { get; set; }
Property Value
Constructors
Profile()
public Profile()
Methods
BuildRenderTree(RenderTreeBuilder)
protected void BuildRenderTree(RenderTreeBuilder __builder)
Parameters
__builder RenderTreeBuilder
OnParametersSetAsync()
Called when the component's parameters are set. Initializes the profile page view model with the user ID.
protected Task OnParametersSetAsync()