public SubscriptionsController( IHttpClientFactory httpClientFactory, IConfiguration configuration, LicenseDbContext licenseDbContext) { _configuration = configuration; _httpClientFactory = httpClientFactory; _licenseDbContext = licenseDbContext; }
public WebHookController( IConfiguration configuration, IHttpClientFactory httpClientFactory, ILogger <WebHookController> logger, LicenseDbContext licenseDbContext) { _httpClientFactory = httpClientFactory; _configuration = configuration; _licenseDbContext = licenseDbContext; _logger = logger; }
public LicenseController( ILicenseManager licenseManager, IHostEnvironment environment, IConfiguration configuration, ResponseDto response, LicenseDbContext context) { _licenseManager = licenseManager; _environment = environment; _configuration = configuration; _response = response; _context = context; }
public UserBackgroundService( ILogger <UserBackgroundService> logger, IServiceProvider services ) { // Get service provider from created scope so that we can use services var provider = services.CreateScope().ServiceProvider; // System _timers = new List <KeyValuePair <string, Timer> >(); _logger = logger; _context = provider.GetService <LicenseDbContext>(); }
public AccountController( ResponseDto response, IHttpContextAccessor accessor, IDataProtectionProvider protectionProvider, IConfiguration configuration, ITokenFactory tokenFactory, JwtConfigService jwtConfig, LicenseDbContext context) { _response = response; _accessor = accessor; _configuration = configuration; _tokenFactory = tokenFactory; _jwtConfig = jwtConfig; _context = context; _dataProtector = protectionProvider.CreateProtector(configuration["dataProtectionProposeKey"]); }
public LicensesController(LicenseDbContext licenseDbContext) { _licenseDbContext = licenseDbContext; }
public LicenseManager(IConfiguration configuration, LicenseDbContext context, IHostEnvironment environment) { _configuration = configuration; _context = context; _environment = environment; }
public LicensesController(ILogger <LicensesController> logger, LicenseDbContext context) { _logger = logger; _context = context; }
public LicenseManagersController(LicenseDbContext licenseDbContext) { _licenseDbContext = licenseDbContext; }