Ejemplo n.º 1
0
 public AppTenantsInitializer(
     AppTenantsContext context,
     IConfiguration configuration,
     IHostingEnvironment environment,
     IApplicationLifetime applicationLifetime,
     IJobFilterProvider jobFilters,
     MultitenantContainer multiTenantContainer,
     IBackgroundJobFactory backgroundJobFactory,
     IBackgroundJobPerformer backgroundJobPerformer,
     IBackgroundJobStateChanger backgroundJobStateChanger,
     IBackgroundProcess[] additionalProcesses,
     ITenantConfiguration[] tenantConfigurations)
 {
     _context                   = context;
     _configuration             = configuration;
     _environment               = environment;
     _applicationLifetime       = applicationLifetime;
     _jobFilters                = jobFilters;
     _multiTenantContainer      = multiTenantContainer;
     _backgroundJobFactory      = backgroundJobFactory;
     _backgroundJobPerformer    = backgroundJobPerformer;
     _backgroundJobStateChanger = backgroundJobStateChanger;
     _additionalProcesses       = additionalProcesses;
     _tenantConfigurations      = tenantConfigurations;
 }
 public AppTenantsContextInitializer(AppTenantsContext context, IHostingEnvironment hostingEnvironment, IServiceProvider serviceProvider, TenantSettings <AppTenant> settings)
 {
     _context            = context;
     _hostingEnvironment = hostingEnvironment;
     _serviceProvider    = serviceProvider;
     _settings           = settings;
 }
Ejemplo n.º 3
0
 public AppUnitOfWork(
     AppTenantsContext appContext,
     IdentityContext identityContext,
     IValidationService validationService,
     IDomainEventsMediator domainEventsDispatcher)
     : base(true, validationService, domainEventsDispatcher, appContext, identityContext)
 {
 }