Beispiel #1
0
 void IStateContext.SetState(IState state)
 {
     // ReSharper disable once InconsistentlySynchronizedField
     // All state changes will be do in locked block
     _state = (QueueStateBase)state;
 }