Esempio n. 1
0
 public static WeatherState ReduceGetWeatherForecastsResultAction(WeatherState state, GetWeatherForecastsResultAction action) =>
 WeatherState.MakeStateWith(action.Forecasts);
Esempio n. 2
0
 public static WeatherState ReduceGetWeatherForecastsAction(WeatherState state, GetWeatherForecastsAction action) =>
 WeatherState.MakeLoadingState();