コード例 #1
0
        public StatisticsUserControl()
        {
            statisticsBusiness = new StatisticsBusiness();

            InitializeComponent();
            InitializeData();
        }
コード例 #2
0
        public StatisticsController(IStatisticsBusiness statisticsBusiness, ILogger <StatisticsController> logger,
                                    IStatisticsProvider statisticsProvider)
        {
            statisticsBusiness.ShouldNotBeNull();
            logger.ShouldNotBeNull();
            statisticsProvider.ShouldNotBeNull();

            _statisticsBusiness = statisticsBusiness;
            _logger             = logger;
            _statisticsProvider = statisticsProvider;
        }
コード例 #3
0
 public StatisticsController(IStatisticsBusiness business)
 {
     _business = business;
 }
コード例 #4
0
 public StatisticsQueryHandler(IStatisticsBusiness statisticsBusiness)
 {
     _statisticsBusiness = statisticsBusiness;
 }