Beispiel #1
0
 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));
 }
Beispiel #2
0
 public void Configure(string name, TariffService options)
 {
     Configure(options);
     options.QuotaService  = QuotaService.Get(name);
     options.TenantService = TenantService.Get(name);
     options.CoreDbContext = CoreDbContextManager.Get(name);
 }