public void Apply(IStateContainer <IWeatherState> stateContainer) { stateContainer.LoadState(); stateContainer.State.Forecasts = this.forecasts; }
public void Apply(IStateContainer <IMyCounterState> stateContainer) { stateContainer.LoadState(); stateContainer.State.Count += 1; }