public void Configure(string name, TariffService options) { Configure(options); options.QuotaService = QuotaService.Get(name); options.TenantService = TenantService.Get(name); options.LazyCoreDbContext = new Lazy <CoreDbContext>(() => CoreDbContextManager.Get(name)); }
public void Configure(string name, TariffService options) { Configure(options); options.QuotaService = QuotaService.Get(name); options.TenantService = TenantService.Get(name); options.CoreDbContext = CoreDbContextManager.Get(name); }
public void Configure(string name, TenantManager options) { Configure(options); options.TenantService = TenantService.Get(name); options.QuotaService = QuotaService.Get(name); options.TariffService = TariffService.Get(name); }
public void Configure(string name, HostedSolution hostedSolution) { Configure(hostedSolution); hostedSolution.Region = name; hostedSolution.TenantService = TenantService.Get(name); hostedSolution.UserService = UserService.Get(name); hostedSolution.QuotaService = QuotaService.Get(name); hostedSolution.TariffService = TariffService.Get(name); hostedSolution.ClientTenantManager = TenantManager.Get(name); hostedSolution.TenantUtil = TenantUtil.Get(name); hostedSolution.SettingsManager = DbSettingsManager.Get(name); hostedSolution.CoreSettings = CoreSettings.Get(name); }