示例#1
0
文件: Reducers.cs 项目: vipwan/Fluxor
 public static WeatherState ReduceFetchDataAction(WeatherState state, FetchDataAction action) =>
 new WeatherState(
     isLoading: true,
     forecasts: null);
示例#2
0
文件: Reducers.cs 项目: vipwan/Fluxor
 public static WeatherState ReduceFetchDataResultAction(WeatherState state, FetchDataResultAction action) =>
 new WeatherState(
     isLoading: false,
     forecasts: action.Forecasts);