Пример #1
0
        protected override void OnBindingContextChanged()
        {
            base.OnBindingContextChanged();

            if (this.BindingContext is Voucher.Models.Voucher)
            {
                _voucher = this.BindingContext as Voucher.Models.Voucher;

                _eventAggregator
                .GetEvent <QrCodeRefreshEvent>()
                .Publish(new VoucherEventArgs(_voucher));

                BeginAnimation();
            }
        }
Пример #2
0
 public VoucherEventArgs(Voucher.Models.Voucher voucher)
 {
     this.Voucher = voucher;
 }