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