コード例 #1
0
 public BaseController(IStringLocalizer <BaseController> localizer, ITenantRepository tenantRepository, IConfiguration configuration, DnsClient.ILookupClient client)
 {
     _localizer        = localizer;
     _tenantRepository = tenantRepository;
     _configuration    = configuration;
     _client           = client;
 }
コード例 #2
0
 public FindSeatsController(ITenantRepository tenantRepository, ICatalogRepository catalogRepository, IStringLocalizer <FindSeatsController> localizer, IStringLocalizer <BaseController> baseLocalizer, ILogger <FindSeatsController> logger, IConfiguration configuration, DnsClient.ILookupClient client) : base(baseLocalizer, tenantRepository, configuration, client)
 {
     _tenantRepository  = tenantRepository;
     _catalogRepository = catalogRepository;
     _localizer         = localizer;
     _logger            = logger;
     _client            = client;
 }
コード例 #3
0
 public EventsController(ITenantRepository tenantRepository, ICatalogRepository catalogRepository, IStringLocalizer <BaseController> baseLocalizer, ILogger <EventsController> logger, IConfiguration configuration, DnsClient.ILookupClient client, IUtilities utilities) : base(baseLocalizer, tenantRepository, configuration, client)
 {
     _logger            = logger;
     _tenantRepository  = tenantRepository;
     _catalogRepository = catalogRepository;
     _client            = client;
     _utilities         = utilities;
     _configuration     = configuration;
     _appRegion         = configuration["APP_REGION"];
 }