public TradeServerManagerViewModel(ViewModelContext viewModelContext, ITradeServerService tradeServerService) : base(viewModelContext) { this.tradeServerService = tradeServerService; AddTradeServerCommand = new ViewModelCommand(AddTradeServer); DeleteTradeServerCommand = new ViewModelCommand(DeleteTradeServer); CloseCommand = new ViewModelCommand(Close); SelectedTradeServerViewModels = new ObservableCollection <TradeServerViewModel>(); }
public TradeServerManagerViewModel(ViewModelContext viewModelContext, ITradeServerService tradeServerService) : base(viewModelContext) { this.tradeServerService = tradeServerService; AddTradeServerCommand = new ViewModelCommand(AddTradeServer); DeleteTradeServerCommand = new ViewModelCommand(DeleteTradeServer); CloseCommand = new ViewModelCommand(Close); SelectedTradeServerViewModels = new ObservableCollection <TradeServerViewModel>(); tradeServerObservableSubscriptions = new Dictionary <string, IDisposable>(); }
public TradeServerController(ITradeServerService tradeServerService, ILogger <TradeServerController> logger) { this.tradeServerService = tradeServerService; this.logger = logger; }
public TradeServerViewModel(TradeServer tradeServer, ITradeServerService tradeServerService, ILoggerFacade logger) : base(logger) { this.tradeServer = tradeServer; this.tradeServerService = tradeServerService; }