Class Store<State>
manages the communication between all the application components
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
Delegate that reacts on state change
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