Пример #1
0
        public void DecrementCount()
        {
            var count = this._state.Count;

            count--;
            this._state = new CounterState(count);
            BroadcastStateChange();
        }
Пример #2
0
 public CounterStore()
 {
     _state = new CounterState(0);
 }