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