示例#1
0
 public BluetoothConnection this[string strDeviceName]
 {
     get
     {
         BluetoothConnection connection = null;
         if (!s_Connections.TryGetValue(strDeviceName, out connection))
         {
             s_Connections.TryAdd(strDeviceName, new BluetoothConnection(strDeviceName));
             s_Connections.TryGetValue(strDeviceName, out connection);
         }
         else
         {
         }
         return(connection);
     }
 }
示例#2
0
 public BluetoothGattCharacteristicConnection(BluetoothConnection connection)
 {
     Connection = connection;
 }
示例#3
0
 public BluetoothGattCharacteristicConnectionEncrypted(BluetoothConnection connection)
     : base(connection)
 {
 }
 public BluetoothGattCharacteristicConnectionPlain(BluetoothConnection connection)
     : base(connection)
 {
 }