Example #1
0
 /// <summary>
 /// Creates a new instance of the middleware
 /// </summary>
 public ReduxDevToolsMiddleware(
     ReduxDevToolsInterop reduxDevToolsInterop,
     ReduxDevToolsMiddlewareOptions options)
 {
     Options = options;
     ReduxDevToolsInterop = reduxDevToolsInterop;
     ReduxDevToolsInterop.OnJumpToState = OnJumpToState;
     ReduxDevToolsInterop.OnCommit      = OnCommit;
 }
 /// <summary>
 /// Creates a new instance of the middleware
 /// </summary>
 public ReduxDevToolsMiddleware(
     ReduxDevToolsInterop reduxDevToolsInterop,
     ReduxDevToolsMiddlewareOptions options,
     IJsonSerialization jsonSerialization = null)
 {
     Options = options;
     ReduxDevToolsInterop = reduxDevToolsInterop;
     ReduxDevToolsInterop.OnJumpToState = OnJumpToState;
     ReduxDevToolsInterop.OnCommit      = OnCommit;
     JsonSerialization = jsonSerialization ?? new Serialization.NewtonsoftJsonAdapter();
 }
Example #3
0
 /// <summary>
 /// Creates a new instance of the middleware
 /// </summary>
 public ReduxDevToolsMiddleware(ReduxDevToolsInterop reduxDevToolsInterop)
 {
     ReduxDevToolsInterop = reduxDevToolsInterop;
     ReduxDevToolsInterop.OnJumpToState = OnJumpToState;
     ReduxDevToolsInterop.OnCommit      = OnCommit;
 }