Пример #1
0
 /// <summary>
 /// 分流器
 /// </summary>
 /// <typeparam name="T"></typeparam>
 /// <param name="composer"></param>
 /// <param name="reducer"></param>
 /// <returns></returns>
 public ComposableReducer <State> Diverter <T>(Expression <Func <State, T> > composer, ComposableReducer <T> reducer)
 {
     return(Diverter(composer, reducer.Get()));
 }
Пример #2
0
 public Package(ComposableReducer <State> rootReducer) : this(rootReducer.Get())
 {
 }