public AutofacClaptrapBootstrapperBuilder( ILoggerFactory?loggerFactory = default) { _loggerFactory = loggerFactory ?? new NullLoggerFactory(); LoggerFactoryHolder.Instance = _loggerFactory; _logger = _loggerFactory.CreateLogger <AutofacClaptrapBootstrapperBuilder>(); _l = new Lazy <IL>(CreateL); Options = new ClaptrapBootstrapperBuilderOptions { DesignTypes = Enumerable.Empty <Type>(), ModuleTypes = Enumerable.Empty <Type>(), ClaptrapDesignStoreConfigurators = new List <IClaptrapDesignStoreConfigurator>(), ClaptrapDesignStoreProviders = new List <IClaptrapDesignStoreProvider>(), ClaptrapModuleProviders = new List <IClaptrapModuleProvider>() }; }
public AutofacClaptrapBootstrapperBuilder( ILoggerFactory loggerFactory, ContainerBuilder applicationBuilder) { _loggerFactory = loggerFactory; _applicationBuilder = applicationBuilder; LoggerFactoryHolder.Instance = loggerFactory; _logger = loggerFactory.CreateLogger <AutofacClaptrapBootstrapperBuilder>(); _l = new Lazy <IL>(CreateL); Options = new ClaptrapBootstrapperBuilderOptions { DesignTypes = Enumerable.Empty <Type>(), ModuleTypes = Enumerable.Empty <Type>(), ClaptrapDesignStoreConfigurators = new List <IClaptrapDesignStoreConfigurator>(), ClaptrapDesignStoreProviders = new List <IClaptrapDesignStoreProvider>(), ClaptrapModuleProviders = new List <IClaptrapModuleProvider>(), }; }
public AutofacClaptrapBootstrapperBuilder( ILoggerFactory loggerFactory, ContainerBuilder applicationBuilder) { _loggerFactory = loggerFactory; _applicationBuilder = applicationBuilder; LoggerFactoryHolder.Instance = loggerFactory; _logger = loggerFactory.CreateLogger <AutofacClaptrapBootstrapperBuilder>(); _l = new Lazy <IL>(CreateL); Options = new ClaptrapBootstrapperBuilderOptions { DesignTypes = Enumerable.Empty <Type>(), ModuleTypes = Enumerable.Empty <Type>(), ClaptrapDesignStoreConfigurators = new List <IClaptrapDesignStoreConfigurator> { // TODO remove to sub module maybe new SageClaptrapDesignStoreConfigurator() }, ClaptrapDesignStoreProviders = new List <IClaptrapDesignStoreProvider>(), ClaptrapModuleProviders = new List <IClaptrapModuleProvider>(), }; DefaultClaptrapDesignConfigurator.Configure(this); }
public DbFactory( ClaptrapBootstrapperBuilderOptions options) { _options = options; }
public ClaptrapApplicationModulesProvider( ClaptrapBootstrapperBuilderOptions claptrapBootstrapperBuilderOptions) { _claptrapBootstrapperBuilderOptions = claptrapBootstrapperBuilderOptions; }
public ClaptrapBootstrapperBuilderOptionsModule( ClaptrapBootstrapperBuilderOptions claptrapBootstrapperBuilderOptions) { _claptrapBootstrapperBuilderOptions = claptrapBootstrapperBuilderOptions; }
public ClaptrapAppProvider( ClaptrapBootstrapperBuilderOptions claptrapBootstrapperBuilderOptions) { _claptrapBootstrapperBuilderOptions = claptrapBootstrapperBuilderOptions; }