public SourceIPIdentificationService(ITenantsStore <TTenant> store, IHttpContextAccessor contextAccessor, ILogger <ITenantIdentificationService <TTenant> > logger)
 {
     _store           = store;
     _contextAccessor = contextAccessor;
     _logger          = logger;
 }
Esempio n. 2
0
 public MultiTenantService(IHttpContextAccessor accessor, ITenantsStore <TTenant> store, ITenantIdentificationService <TTenant> service, ITenantDbContextStrategyService strategyService)
     : this(accessor, store, service)
 {
     _strategyService = strategyService;
 }
Esempio n. 3
0
 public MultiTenantService(IHttpContextAccessor accessor, ITenantsStore <TTenant> store, ITenantIdentificationService <TTenant> service)
 {
     _store  = store;
     _tenant = service.GetTenantAsync(accessor.HttpContext).Result;
 }
 public TenantHostQueryStringRequestIpIdentificationService(ITenantsStore <TTenant> store, IHttpContextAccessor contextAccessor, ILogger <ITenantIdentificationService <TTenant> > logger)
 {
     _store           = store;
     _contextAccessor = contextAccessor;
     _logger          = logger;
 }