Пример #1
0
 public virtual void DidDetectReader(ABTBluetoothReaderManager bluetoothReaderManager, ABTBluetoothReader reader, global::CoreBluetooth.CBPeripheral peripheral, NSError error)
 {
     if (bluetoothReaderManager == null)
     {
         throw new ArgumentNullException("bluetoothReaderManager");
     }
     if (reader == null)
     {
         throw new ArgumentNullException("reader");
     }
     if (peripheral == null)
     {
         throw new ArgumentNullException("peripheral");
     }
     if (error == null)
     {
         throw new ArgumentNullException("error");
     }
     if (IsDirectBinding)
     {
         global::ApiDefinitions.Messaging.void_objc_msgSend_IntPtr_IntPtr_IntPtr_IntPtr(this.Handle, Selector.GetHandle("bluetoothReaderManager:didDetectReader:peripheral:error:"), bluetoothReaderManager.Handle, reader.Handle, peripheral.Handle, error.Handle);
     }
     else
     {
         global::ApiDefinitions.Messaging.void_objc_msgSendSuper_IntPtr_IntPtr_IntPtr_IntPtr(this.SuperHandle, Selector.GetHandle("bluetoothReaderManager:didDetectReader:peripheral:error:"), bluetoothReaderManager.Handle, reader.Handle, peripheral.Handle, error.Handle);
     }
 }
 public static void DidDetectReader(this IABTBluetoothReaderManagerDelegate This, ABTBluetoothReaderManager bluetoothReaderManager, ABTBluetoothReader reader, global::CoreBluetooth.CBPeripheral peripheral, NSError error)
 {
     if (bluetoothReaderManager == null)
     {
         throw new ArgumentNullException("bluetoothReaderManager");
     }
     if (reader == null)
     {
         throw new ArgumentNullException("reader");
     }
     if (peripheral == null)
     {
         throw new ArgumentNullException("peripheral");
     }
     if (error == null)
     {
         throw new ArgumentNullException("error");
     }
     global::ApiDefinitions.Messaging.void_objc_msgSend_IntPtr_IntPtr_IntPtr_IntPtr(This.Handle, Selector.GetHandle("bluetoothReaderManager:didDetectReader:peripheral:error:"), bluetoothReaderManager.Handle, reader.Handle, peripheral.Handle, error.Handle);
 }
 public virtual void DidDetectReader(ABTBluetoothReaderManager bluetoothReaderManager, ABTBluetoothReader reader, global::CoreBluetooth.CBPeripheral peripheral, NSError error)
 {
     throw new You_Should_Not_Call_base_In_This_Method();
 }