public SourceIPIdentificationService(ITenantsStore <TTenant> store, IHttpContextAccessor contextAccessor, ILogger <ITenantIdentificationService <TTenant> > logger)
 {
     _store           = store;
     _contextAccessor = contextAccessor;
     _logger          = logger;
 }
예제 #2
0
 public MultiTenantService(IHttpContextAccessor accessor, ITenantsStore <TTenant> store, ITenantIdentificationService <TTenant> service, ITenantDbContextStrategyService strategyService)
     : this(accessor, store, service)
 {
     _strategyService = strategyService;
 }
예제 #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;
 }