public static void AddDomainTenantResolver(this PlusTenantResolveOptions options, string domainFormat)
 {
     options.TenantResolvers.InsertAfter(
         r => r is CurrentUserTenantResolveContributor,
         new DomainTenantResolveContributor(domainFormat)
         );
 }
Exemplo n.º 2
0
 public TenantResolver(IOptions <PlusTenantResolveOptions> options, IServiceProvider serviceProvider)
 {
     _serviceProvider = serviceProvider;
     _options         = options.Value;
 }