Interface IReducer<TInput, TOutput>
Reduces/transforms store state for specific application purpose/component
Namespace: BlazorFocused
Assembly: BlazorFocused.Store.dll
Syntax
public interface IReducer<TInput, TOutput>
where TInput : class
Type Parameters
Name | Description |
---|---|
TInput | Original state of store |
TOutput | Reduced/transformed state |
Methods
| Improve this Doc View SourceExecute(TInput)
This method returns a reduced/transformed form of the original state
Declaration
TOutput Execute(TInput input)
Parameters
Type | Name | Description |
---|---|---|
TInput | input | Original state of store |
Returns
Type | Description |
---|---|
TOutput | Reduced/transformed state |