示例#1
0
 public PlayersController(
     ApplicationDbContext db,
     IClashApi api,
     IMemberUpdater memberUpdater,
     ILogger <PlayersController> logger)
 {
     this.db            = db;
     this.api           = api;
     this.memberUpdater = memberUpdater;
     this.logger        = logger;
 }
示例#2
0
 public TrackerUtility(
     ApplicationDbContext db,
     IOptions <TrackerOptions> options,
     ILogger <ClanStatistics> logger,
     IClashApi api,
     IHttpClientFactory clientFactory
     )
 {
     this.db            = db;
     this.options       = options;
     this.logger        = logger;
     this.api           = api;
     this.clientFactory = clientFactory;
 }
示例#3
0
 public ClansController(
     ApplicationDbContext db,
     IClashApi api,
     ILogger <ClansController> logger,
     IGoogleSheetsService googleSheets,
     IClanLoader clanLoader,
     IOptions <WeightResultOptions> resultDatabase,
     WeightSubmitService submitService
     )
 {
     this.db             = db;
     this.api            = api;
     this.logger         = logger;
     this.googleSheets   = googleSheets;
     this.clanLoader     = clanLoader;
     this.resultDatabase = resultDatabase;
     this.submitService  = submitService;
 }