Exemple #1
0
 public ConversionConfirmationViewModel(
     IAtomixApp app,
     IDialogViewer dialogViewer)
 {
     App          = app ?? throw new ArgumentNullException(nameof(app));
     DialogViewer = dialogViewer ?? throw new ArgumentNullException(nameof(dialogViewer));
 }
Exemple #2
0
 public StartViewModel(
     IAtomixApp app,
     IDialogViewer dialogViewer)
 {
     App          = app ?? throw new ArgumentNullException(nameof(app));
     DialogViewer = dialogViewer ?? throw new ArgumentNullException(nameof(dialogViewer));
 }
        public MyWalletsViewModel(
            IAtomixApp app,
            IDialogViewer dialogViewer)
        {
            App          = app ?? throw new ArgumentNullException(nameof(app));
            DialogViewer = dialogViewer ?? throw new ArgumentNullException(nameof(dialogViewer));

            Wallets = WalletInfo.AvailableWallets();
        }
Exemple #4
0
        public ExchangeViewModel(IAtomixApp app)
        {
            App = app ?? throw new ArgumentNullException(nameof(app));

            Tabs = Symbols.Available
                   .Select(s => new SymbolTabItem(s))
                   .ToList();

            SubscribeToServices();
        }
        public ExchangeViewModel(IAtomixApp app)
        {
            App = app ?? throw new ArgumentNullException(nameof(app));

            SubscribeToServices();
        }