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