Ejemplo n.º 1
0
 public void DetachClient(IAutoTestClient client)
 {
     if (client == this.client)
     {
         this.client = null;
         currentSession?.Dispose();
         currentSession = null;
     }
     else
     {
         throw new InvalidOperationException("Not connected");
     }
 }