Exemplo n.º 1
0
        public StatisticsUserControl()
        {
            statisticsBusiness = new StatisticsBusiness();

            InitializeComponent();
            InitializeData();
        }
Exemplo n.º 2
0
        public StatisticsController(IStatisticsBusiness statisticsBusiness, ILogger <StatisticsController> logger,
                                    IStatisticsProvider statisticsProvider)
        {
            statisticsBusiness.ShouldNotBeNull();
            logger.ShouldNotBeNull();
            statisticsProvider.ShouldNotBeNull();

            _statisticsBusiness = statisticsBusiness;
            _logger             = logger;
            _statisticsProvider = statisticsProvider;
        }
Exemplo n.º 3
0
 public StatisticsController(IStatisticsBusiness business)
 {
     _business = business;
 }
 public StatisticsQueryHandler(IStatisticsBusiness statisticsBusiness)
 {
     _statisticsBusiness = statisticsBusiness;
 }