Example #1
0
        public App(IPayCardRecognizerService payCardRecognizerService)
        {
            InitializeComponent();

            MainPage = new MainPage(payCardRecognizerService);
        }
Example #2
0
 public MainPage(IPayCardRecognizerService payCardRecognizerService)
 {
     BindingContext = new MainViewModel(payCardRecognizerService);
     InitializeComponent();
 }
Example #3
0
 public MainViewModel(IPayCardRecognizerService payCardRecognizerService)
 {
     _payCardRecognizerService = payCardRecognizerService;
 }