Exemplo n.º 1
0
 private void AssertState(PromiseClientStates state)
 {
     if (state != InternalState.Status)
     {
         throw new InvalidOperationException("Invalid state, actual " + InternalState.Status + " while expected is " + state);
     }
 }
Exemplo n.º 2
0
 private void AssertState(PromiseClientStates state)
 {
     if (state != InternalState.Status)
     {
         throw new InvalidOperationException($"Invalid state, actual {InternalState.Status} while expected is {state}");
     }
 }