private StatusCode DequeueStatusCode() { lock (QueStatusCodes) { return(QueStatusCodes.Dequeue()); } }
private void EnqueueStatusCode(StatusCode statusCode) { lock (QueStatusCodes) { QueStatusCodes.Enqueue(statusCode); } }