コード例 #1
0
 public PokemonStatsPipeline(PokegrafDbContext dbContext, INavigatorContext ctx)
 {
     DbContext = dbContext;
     Ctx       = ctx;
 }
コード例 #2
0
 public SetNameCommandActionHandler(INavigatorContext ctx, ILogger <SetNameCommandActionHandler> logger, PokegrafDbContext dbContext) : base(ctx)
 {
     Logger    = logger;
     DbContext = dbContext;
 }
コード例 #3
0
 public GlobalStatsService(ILogger <GlobalStatsService> logger, IDistributedCache cache, PokegrafDbContext dbContext)
 {
     Logger    = logger;
     Cache     = cache;
     DbContext = dbContext;
 }
コード例 #4
0
 public StatsCommandActionHandler(INavigatorContext ctx, IGlobalStatsService globalStatsService, PokegrafDbContext dbContext) : base(ctx)
 {
     GlobalStatsService = globalStatsService;
     DbContext          = dbContext;
 }