Skip to content

PostSubmissionFormVmImpl

Namespace: SlottyMedia.Backend.ViewModel.Partial.MainLayout

public class PostSubmissionFormVmImpl : IPostSubmissionFormVm

Inheritance ObjectPostSubmissionFormVmImpl
Implements IPostSubmissionFormVm

Properties

Text

public string Text { get; set; }

Property Value

String

TextErrorMessage

public string TextErrorMessage { get; set; }

Property Value

String

SpacePrompt

public string SpacePrompt { get; set; }

Property Value

String

SpaceName

public string SpaceName { get; set; }

Property Value

String

SearchedSpaces

public List<string> SearchedSpaces { get; set; }

Property Value

List<String>

SpaceErrorMessage

public string SpaceErrorMessage { get; set; }

Property Value

String

ServerErrorMessage

public string ServerErrorMessage { get; set; }

Property Value

String

UserInformation

public UserInformationDto UserInformation { get; set; }

Property Value

UserInformationDto

IsLoading

public bool IsLoading { get; set; }

Property Value

Boolean

Constructors

PostSubmissionFormVmImpl(IAuthService, IPostService, IForumService, ISearchService, NavigationManager, IUserService)

Ctor used for dep inject

public PostSubmissionFormVmImpl(IAuthService authService, IPostService postService, IForumService forumService, ISearchService searchService, NavigationManager navigationManager, IUserService userService)

Parameters

authService IAuthService

postService IPostService

forumService IForumService

searchService ISearchService

navigationManager NavigationManager

userService IUserService

Methods

HandleSpacePromptChange(ChangeEventArgs, EventCallback<String>)

public Task HandleSpacePromptChange(ChangeEventArgs e, EventCallback<string> promptValueChanged)

Parameters

e ChangeEventArgs

promptValueChanged EventCallback<String>

Returns

Task

HandleSpaceSelection(String)

public void HandleSpaceSelection(string spaceName)

Parameters

spaceName String

HandleSpaceDeselection()

public void HandleSpaceDeselection()

SubmitForm()

public Task SubmitForm()

Returns

Task

Initialize(Nullable<Guid>)

public Task Initialize(Nullable<Guid> userId)

Parameters

userId Nullable<Guid>

Returns

Task