Class Store<State>
Syntax
public class Store<State>
Type Parameters
Constructors
Store(Reducer<State>, State, Middleware<State>[])
Declaration
public Store(Reducer<State> reducer, State initialState = null, params Middleware<State>[] middlewares)
Parameters
| Type |
Name |
Description |
| Reducer<State> |
reducer |
|
| State |
initialState |
|
| Middleware<State>[] |
middlewares |
|
Fields
stateChanged
Declaration
public StateChangedHandler<State> stateChanged
Field Value
Properties
state
Declaration
public State state { get; }
Property Value
Methods
Dispatch(Object)
Declaration
public object Dispatch(object action)
Parameters
| Type |
Name |
Description |
| Object |
action |
|
Returns