public ReportController(ILogger <ReportController> logger, DbContext db) { _logger = logger; _storage = new Storage(db); _timeTrackingService = new YouTrackService(); _chartService = new ChartService(); }
public DashboardController(ILogEntryRepository logEntryRepository, IChartService chartService, IWeek week, IDateAndExcetionsRepository dateAndExcetionsRepository) { _logEntryRepository = logEntryRepository; _chartService = chartService; _week = week; _DateAndExcetions = dateAndExcetionsRepository; }
public ChartController( IChartService chartService, IMapper mapper) { _chartService = chartService; _mapper = mapper; }
public StatisticsController(IChartService chartService, IMapper mapper, IGateUsageService gateUsageService, IOrderService orderService) { _chartService = chartService; _mapper = mapper; _gateUsageService = gateUsageService; _orderService = orderService; }
public ExpensesController(IExpenseRepository repository, ICategoryRepository categoryRepository, UserManager <IdentityUser> userManager, IChartService service) { _repository = repository; _userManager = userManager; _categoryRepository = categoryRepository; _service = service; }
public ChartModule(ILogger <ChartModule> logger, IChartService chartService, IPlayerService playerService, IBasicEmbedsService basicEmbedsService) { _logger = logger; _chartService = chartService; _playerService = playerService; _basicEmbedsService = basicEmbedsService; }
public DocSendService(IDocumentService documentService, IChartEmployeeService chartEmployeeService, ISendService sendService, IChartService chartService, IDocTitleService titleService) { _documentService = documentService; _chartEmployeeService = chartEmployeeService; _sendService = sendService; _chartService = chartService; _titleService = titleService; }
public OrderController(IOrderService orderService, IChartService chartService) { //orderService = new OrderServiceProxy(); //chartService = new WebChartService(); this.orderService = orderService; this.chartService = chartService; }
public DocumentService(IUnitOfWork uow, IChartService chartService) { _uow = uow; _chartService = chartService; _docHistory = _uow.Set <DocHistory>();; _send = _uow.Set <DomainLayer.DB_Model.Send.Send>(); _document = _uow.Set <DomainLayer.DB_Model.Documents.Document>(); }
public MainViewModel() { Messenger.Default.Register <LocalModeMessage>(this, HandleLocalModeMessage); Messenger.Default.Register <TaxlotMessage>(this, HandleTaxlotMessage); Messenger.Default.Register <PositionMessage>(this, HandlePositionsMessage); Messenger.Default.Register <TradeCompleteMessage>(this, HandleTradeCompleteMessage); Messenger.Default.Register <LimitOrderMessage>(this, HandleLimitOrderMessage); Messenger.Default.Register <StockDataResponseMessage>(this, HandleStockDataResponse); Messenger.Default.Register <PositionPricingMessage>(this, HandlePositionPricingMessage); Messenger.Default.Register <ChartResponseMessage>(this, HandleChartResponseMessage); TradeTypeStrings = new ObservableCollection <string>() { " ", "Buy", "Sell" }; TradeTermStrings = new ObservableCollection <string>() { " ", "Market", "Limit", "Stop", "Stop Limit" }; TradeDurationStrings = new ObservableCollection <string> { " ", "Day", "GTC", "Market Close", "Market Open", "Overnight" }; SecurityTypes = new ObservableCollection <Security> { new Stock(), new MutualFund() }; Positions = new ObservableCollection <Position>(); Taxlots = new ObservableCollection <Taxlot>(); SelectedTradeType = TradeTypeStrings[0]; SelectedTermType = TradeTermStrings[0]; SelectedDurationType = TradeDurationStrings[0]; ChartSubtitle = "All Positions"; PreviewButtonText = "Preview Order"; ShowLimitButtonText = "Show Limit Orders"; LimitOrdersHidden = true; LimitBoxActive = false; OrderTermsOK = false; LimitPrice = 0; TotalValue = 0; TotalCostBasis = 0; TotalGainLoss = 0; AlertBoxMessage = ""; LimitOrderIsSelected = false; _canLoad = true; _canSave = true; _hiddenPositions = new List <Position>(); _chartService = SimpleIoc.Default.GetInstance <IChartService>(); _stockDataService = SimpleIoc.Default.GetInstance <IStockDataService>(); _portfolioDatabaseService = SimpleIoc.Default.GetInstance <IPortfolioDatabaseService>(); _portfolioManagementService = SimpleIoc.Default.GetInstance <IPortfolioManagementService>(); //Notify other classes that startup is complete. Messenger.Default.Send <StartupCompleteMessage>(new StartupCompleteMessage(true)); }
public TimeController(ITimeMatrixService timeMatrix, IOrganizationRecruiter recruiter, IServiceProvider serviceProvider, IChartService chartService) : base(serviceProvider) { _recruiter = recruiter; _timeMatrix = timeMatrix; _chartService = chartService; }
public HomeController(IWeatherService weatherService, IUserService userService, IGateUsageService gateUsageService, IMapper mapper, IChartService chartService, IPortalMessageService portalMessageService) { _weatherService = weatherService; _userService = userService; _gateUsageService = gateUsageService; _mapper = mapper; _chartService = chartService; _portalMessageService = portalMessageService; }
public ChartController( IChartService chartService, IViewService viewService, ISubclassRepository subclassRepository) { this.chartService = chartService; this.viewService = viewService; this.subclassRepository = subclassRepository; }
public ExceptionChartStart(IChartService chartService, IWeek week, ILogEntryRepository logEntryRepository, int prevWeek, bool isPrev, bool isNext) { _logEntryRepository = logEntryRepository; _chartService = chartService; _week = week; _prevWeek = prevWeek; _isPrev = isPrev; _isNext = isNext; }
public ChartsController( IChartRepository chartRepository, IChartService chartService, IServiceLogger <ChartsController> logger) { _chartService = chartService; _chartRepository = chartRepository; _logger = logger; }
public TimeController(ITimeMatrixService timeMatrix, IOrganizationMarketer marketer, IServiceProvider serviceProvider, IChartService chartService) : base(serviceProvider) { _marketer = marketer; _timeMatrix = timeMatrix; _chartService = chartService; }
public ChartController( ChartRepository repo, IChartService chartService, IUserService userService) { _repo = repo; _chartService = chartService; _userService = userService; }
public TimeController(IServiceProvider serviceProvider, IOrganizationCustomer orgCustomer, ITimeMatrixService timeService, IChartService chartService) : base(serviceProvider) { _orgCustomer = orgCustomer; _timeService = timeService; _chartService = chartService; }
public FrmPrsRelationChart(IChartEmployeeService userManager, IEmployeeService employeeManager, IChartService chartManager) { InitializeComponent(); _chartEmployeeManager = userManager; _employeeManager = employeeManager; _chartManager = chartManager; }
public TimeController(ITimeEntryService service, ITimeMatrixService timeMatrix, IOrganizationContractor contractor, IServiceProvider provider, IChartService chartService) : base(provider) { _contractor = contractor; _timeService = service; _timeMatrix = timeMatrix; _chartService = chartService; }
public TimeController( ITimeEntryService timeEntryService, IChartService chartService, IServiceProvider serviceProvider, IOrganizationAccountManager am, ITimeMatrixService matrixService) : base(serviceProvider) { _timeEntryService = timeEntryService; _chartService = chartService; _am = am; _matrixService = matrixService; }
public HomeViewModel( INotificationService notificationService, IChartService chartService, IBookingService bookingService, IAuthenticationService authenticationService) { _notificationService = notificationService; _chartService = chartService; _bookingService = bookingService; _authenticationService = authenticationService; }
public TimeController(ITimeEntryService service, IOrganizationProjectManager projectManager, ITimeMatrixService timeMatrixService, IChartService chartService, IServiceProvider serviceProvider) : base(serviceProvider) { _projectManager = projectManager; _timeMatrixService = timeMatrixService; _timeService = service; _chartService = chartService; }
public HomeController( IImportService importService, ISqLiteService sqLiteService, IChartService chartService, IAccountService accountService) { _importService = importService; _sqLiteService = sqLiteService; _chartService = chartService; _accountService = accountService; }
public CarbonaraController( ICalculationService calculationService, IMiningHardwareService miningHardwareService, IChartService chartService, IBitcoinWalletInformationService bitcoinWalletInformationService) { _calculationService = calculationService; _miningHardwareService = miningHardwareService; _chartService = chartService; _bitcoinWalletInformationService = bitcoinWalletInformationService; }
public ChartViewModel(ILog log, IDispatcherSchedulerProvider scheduler, IStandardDialog standardDialog, BindableCollection <HistoricalDataDto> itemsCollection, IChartService service) : base(log, scheduler, standardDialog) { _service = service; Disposables.Add(service); this.SetupHeader(Scheduler, "Chart"); Items = itemsCollection; GoCommand = new DelegateCommand(GetData, () => !string.IsNullOrEmpty(Ticker)); }
public ChartViewModel(ILog log, IDispatcherSchedulerProvider scheduler, IStandardDialog standardDialog, BindableCollection<HistoricalDataDto> itemsCollection, IChartService service) : base(log, scheduler, standardDialog) { _service = service; Disposables.Add(service); this.SetupHeader(Scheduler, "Chart"); Items = itemsCollection; GoCommand = new DelegateCommand(GetData, () => !string.IsNullOrEmpty(Ticker)); }
public HomeViewModel( INotificationService notificationService, IChartService chartService, IBookingService bookingService, IAuthenticationService authenticationService) { _notificationService = notificationService; _chartService = chartService; _bookingService = bookingService; _authenticationService = authenticationService; _notifications = new ObservableCollection <Notification>(); }
public ChartsController(IChartService chartService) { _chartService = chartService; try { _idLoggedUser = System.Web.HttpContext.Current.GetOwinContext().GetUserManager <ApplicationUserManager>().FindById(System.Web.HttpContext.Current.User.Identity.GetUserId()).Id; } catch (Exception ex) { _idLoggedUser = string.Empty; } }
public CounterViewModel( IDataService dataService, IChartService chartService, ISettingsService settingsService) { _dataService = dataService; _chartService = chartService; _settingsService = settingsService; IncrementCommand = new Command(async() => await IncrementAsync()); Task.Run(async() => await Init()); }
public UserController( IUserService userService, ChartRepository chartRepository, IChartService chartService, IChartDateService chartDateService, ILastFmService lastFmService) { _userService = userService; _chartRepository = chartRepository; _chartService = chartService; _chartDateService = chartDateService; _lastFm = lastFmService; }
public ReportService(IChartService chartService, IOrderAnalyticsService orderAnalyticsService, EcommerceSettings ecommerceSettings) { _chartService = chartService; _orderAnalyticsService = orderAnalyticsService; _ecommerceSettings = ecommerceSettings; }