public ExecutableOfferOverviewViewModel(IOfferConsumerService offerConsumerService, IStellarService stellarService) : base(offerConsumerService) { rand = new Random(); this.stellarService = stellarService; }
public StartupService(IConfigurationRoot config, IStellarService stellarService) { //DatabaseQueueService databaseQueueService _config = config; _stellarService = stellarService; _logger = DicordLogFactory.GetLogger <StartupService>(GlobalVariables.DiscordId, GlobalVariables.DiscordToken); }
public StartupService(IConfigurationRoot config, IDatabaseService databaseService, IStellarService stellarService) { _config = config; _databaseService = databaseService; _stellarService = stellarService; _logger = LogManager.GetLogger(typeof(StartupService)); }
public TransactionOverviewViewModel(IStellarService stellarService) { this.Header = "Received transactions"; this.stellarService = stellarService; this.Transactions = new BindableCollection <Transaction>(); this.stellarService.TransactionReceived += StellarService_TransactionReceived; this.stellarService.ReceiveAccountTransactions(); }
public PaymentOverviewViewModel(IStellarService stellarService) { this.Header = "Received payments"; this.stellarService = stellarService; this.Payments = new BindableCollection <Payment>(); this.stellarService.PaymentReceived += StellarService_PaymentReceived; this.stellarService.ReceiveMyPayments(); }
public AccountViewModel(IStellarService stellarService) { this.stellarService = stellarService; this.stellarService.AccountReceived += StellarService_AccountReceived; var accountUpdateTask = new Task(LoadMyAccount); accountUpdateTask.Start(); }
public ShellViewModel(IStellarService stellarService, IOfferConsumerService offerConsumerService) { FlyoutViewModels = new BindableCollection <FlyoutBaseViewModel>(); ExecutableOfferOverviewViewModel = new ExecutableOfferOverviewViewModel(offerConsumerService, stellarService); ExecutableOfferOverviewViewModel.Header = "Latest offers"; PaymentOverviewViewModel = new PaymentOverviewViewModel(stellarService); PaymentOverviewViewModel.Header = "My payments"; AccountViewModel = new AccountViewModel(stellarService); }
public ShellViewModel(IStellarService stellarService, IOfferConsumerService offerConsumerService) { FlyoutViewModels = new BindableCollection <FlyoutBaseViewModel>(); OfferOverviewViewModel = new OfferOverviewViewModel(offerConsumerService); OfferOverviewViewModel.Header = "Latest offers"; PaymentOverviewViewModel = new PaymentOverviewViewModel(stellarService); TransactionOverviewViewModel = new TransactionOverviewViewModel(stellarService); TransactionOverviewViewModel.Header = "Latest transactions"; MapViewModel = new MapViewModel(); }
public WalletsController(IStellarService stellarService) { _stellarService = stellarService; }
public SignController(IStellarService stellarService) { _stellarService = stellarService; }
public ShellViewModel(ISettingsService settingsService, IOfferProducerService offerProducerService, IStellarService stellarService) { FlyoutViewModels = new BindableCollection <FlyoutBaseViewModel>(); OfferOverviewVieModel = new OfferOverviewViewModel(offerProducerService); OfferCreateViewModel = new OfferCreateViewModel(settingsService, offerProducerService); PaymentOverviewViewModel = new PaymentOverviewViewModel(stellarService); AccountViewModel = new AccountViewModel(stellarService); }