Show / Hide Table of Contents

Interface IAction<TState, TInput>

Performs an action that can be triggered by the store

Inherited Members
IStoreAction<TState>.State
Namespace: BlazorFocused
Assembly: BlazorFocused.Store.dll
Syntax
public interface IAction<TState, TInput> : IStoreAction<TState>
Type Parameters
Name Description
TState

State of the store data

TInput

Input object at time of execution

Methods

| Improve this Doc View Source

Execute(TInput)

This method is executed by the store chain when dispatched

Declaration
TState Execute(TInput input)
Parameters
Type Name Description
TInput input

Input object passed at time of dispatch

Returns
Type Description
TState

New state of store after action is complete

  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX