Example #1
0
 /// <summary>
 /// Provide the next state from current State and Action.
 /// Set new state for each action type you defined in StoreActionTypes
 /// </summary>
 /// <param name="state">State.</param>
 /// <param name="action">Action.</param>
 public virtual TState Provide(TState state, StoreActionContainer action)
 {
     // Make a deep clone of the state object
     return(Extentions.DeepClone <TState>(state));
 }