Exemplo n.º 1
0
 private async Task Connect()
 {
     if (_connection == null)
     {
         _connection = new BillingConnection();
         await _connection.Connect();
     }
 }
Exemplo n.º 2
0
 public void Disconnect()
 {
     if (_connection != null)
     {
         _connection.Disconnect();
         _connection.Dispose();
         _connection = null;
     }
 }