コード例 #1
0
ファイル: WhatsInTheBag.cs プロジェクト: dangdd2/CDM
 public WhatsInTheBag(IRepository repository, SugarDataContext sugarDataContext,
                      ILogger <Consumer> logger, StaticTableHelper staticTableHelper)
 {
     _repository        = repository;
     _sugarDataContext  = sugarDataContext;
     _logger            = logger;
     _staticTableHelper = staticTableHelper;
 }
コード例 #2
0
 public StaticTables(SugarDataContext sugarDataContext, ILogger <StaticTables> logger,
                     StaticTableHelper staticTableHelper, IRepository repository)//
 {
     _repository        = repository;
     _sugarDataContext  = sugarDataContext;
     _logger            = logger;
     _staticTableHelper = staticTableHelper;
 }
コード例 #3
0
ファイル: Experiences.cs プロジェクト: dangdd2/CDM
 public Experiences(IRepository repository, 
     ILogger<Consumer> logger, StaticTableHelper staticTableHelper, IOptions<LoadSettings> settings)
 {
     _repository = repository;
     _logger = logger;
     _staticTableHelper = staticTableHelper;
     _startCount = settings.Value.StartCount;
 }
コード例 #4
0
 public Consumer(IRepository repository, SugarDataContext sugarDataContext,
                 ILogger <Consumer> logger, StaticTableHelper staticTableHelper, IOptions <LoadSettings> settings)
 {
     _repository        = repository;
     _sugarDataContext  = sugarDataContext;
     _logger            = logger;
     _staticTableHelper = staticTableHelper;
     _startCount        = settings.Value.StartCount;
 }