Ejemplo n.º 1
0
 public ScheduledExecutionService(
     DiscordService discordService,
     CoreService coreService,
     IconCheckService iconCheckService,
     StaticSettings staticSettings
     )
 {
     DiscordService   = discordService;
     CoreService      = coreService;
     IconCheckService = iconCheckService;
     StaticSettings   = staticSettings;
 }
Ejemplo n.º 2
0
 public CoreService(IHttpContextAccessor httpContextAccessor,
                    ApplicationDbContext dbContext,
                    IConfiguration configuration,
                    IHttpClientFactory httpClientFactory,
                    SiteContext siteContext
                    , StaticSettings staticSettings)
 {
     HttpContextAccessor = httpContextAccessor;
     DbContext           = dbContext;
     Configuration       = configuration;
     HttpClientFactory   = httpClientFactory;
     SiteContext         = siteContext;
     StaticSettings      = staticSettings;
 }