예제 #1
0
        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;
        }