internal ConsoleApplicationBootstrapper(IDependancyContainerFactory dependancyContainerFactory, ICommandConfigurationRegistry commandConfigurationRegistry, IConsoleApplicationFactory consoleApplicationFactory, DependancyConfiguration defaultDependancyConfiguration, CommandRegistration defaultCommandRegistration, ApplicationConfiguration applicationConfiguration) { _dependancyContainerFactory = dependancyContainerFactory; _commandConfigurationRegistry = commandConfigurationRegistry; _consoleApplicationFactory = consoleApplicationFactory; _userDefinedDependancyConfigurations.Add(defaultDependancyConfiguration); _userDefinedCommandRegistrations.Add(defaultCommandRegistration); _applicationConfiguration = applicationConfiguration; }
public ConsoleApplicationBootstrapper ConfigureDependancies(DependancyConfiguration dependancyConfiguration) { _userDefinedDependancyConfigurations.Add(dependancyConfiguration); return this; }