Пример #1
0
 public DomainTenantResolveContributor(
     IWebMultiTenancyConfiguration multiTenancyConfiguration,
     ITenantStore tenantStore)
 {
     _multiTenancyConfiguration = multiTenancyConfiguration;
     _tenantStore = tenantStore;
 }
 public DomainTenantResolveContributer(
     IHttpContextAccessor httpContextAccessor,
     IWebMultiTenancyConfiguration multiTenancyConfiguration)
 {
     this._httpContextAccessor       = httpContextAccessor;
     this._multiTenancyConfiguration = multiTenancyConfiguration;
 }
 public DomainTenantResolveContributor(
     IHttpContextAccessor httpContextAccessor,
     IWebMultiTenancyConfiguration multiTenancyConfiguration,
     ITenantStore tenantStore)
 {
     _httpContextAccessor       = httpContextAccessor;
     _multiTenancyConfiguration = multiTenancyConfiguration;
     _tenantStore = tenantStore;
 }
Пример #4
0
 public WebCommonModuleConfiguration(IApiProxyScriptingConfiguration apiProxyScripting,
                                     IAntiForgeryConfiguration antiForgery,
                                     IWebEmbeddedResourcesConfiguration embeddedResources,
                                     IWebMultiTenancyConfiguration multiTenancy)
 {
     ApiProxyScripting = apiProxyScripting;
     AntiForgery       = antiForgery;
     EmbeddedResources = embeddedResources;
     MultiTenancy      = multiTenancy;
 }
 public AbpWebCommonModuleConfiguration(
     IApiProxyScriptingConfiguration apiProxyScripting,
     IAbpAntiForgeryConfiguration abpAntiForgery,
     IWebEmbeddedResourcesConfiguration embeddedResources,
     IWebMultiTenancyConfiguration multiTenancy)
 {
     this.ApiProxyScripting = apiProxyScripting;
     this.AntiForgery       = abpAntiForgery;
     this.EmbeddedResources = embeddedResources;
     this.MultiTenancy      = multiTenancy;
 }
Пример #6
0
 public AbpWebCommonModuleConfiguration(
     IApiProxyScriptingConfiguration apiProxyScripting,
     IAbpAntiForgeryConfiguration abpAntiForgery,
     IWebEmbeddedResourcesConfiguration embeddedResources,
     IWebMultiTenancyConfiguration multiTenancy)
 {
     AbpDebug.WriteLine($"执行了{nameof(AbpWebCommonModuleConfiguration)}的构造函数");
     ApiProxyScripting = apiProxyScripting;
     AntiForgery       = abpAntiForgery;
     EmbeddedResources = embeddedResources;
     MultiTenancy      = multiTenancy;
 }
Пример #7
0
 public AbpWebCommonModuleConfiguration(
     IApiProxyScriptingConfiguration apiProxyScripting,
     IAbpAntiForgeryConfiguration abpAntiForgery,
     IWebEmbeddedResourcesConfiguration embeddedResources,
     IWebMultiTenancyConfiguration multiTenancy)
 {
     ApiProxyScripting = apiProxyScripting;
     AntiForgery       = abpAntiForgery;
     EmbeddedResources = embeddedResources;
     MultiTenancy      = multiTenancy;
     WrapResultFilters = new WrapResultFilterCollection();
 }
 public MultiTenancy_Tests()
 {
     IocManager.Resolve <IMultiTenancyConfig>().IsEnabled = true;
     _multiTenancyConfiguration = Resolve <IWebMultiTenancyConfiguration>();
 }