private static void OnBarcodeChanged(BindableObject bindable, Barcode oldValue, Barcode newBarcode)
        {
            if (newBarcode == null)
            {
                return;
            }

            Debug.WriteLine("[ScannerView] OnBarcodeChanged [{0} - {1}]", newBarcode.Result, newBarcode.Format);

            var b = (BarcodeScanner)bindable;

            b.BarcodeChangedCommand.Raise(newBarcode);
            b.BarcodeChanged.Raise(b, new BarcodeEventArgs(newBarcode));
        }
 public BarcodeEventArgs(Barcode barcode)
 {
     Barcode = barcode;
 }