/// <summary> /// Initializes a new instance of the <see cref="IocContainerConfigurator"/> class. /// </summary> /// <param name="configFileProvider"> /// The <see cref="IIocContainerConfigFileProvider"/> instance used to get the configuration file. /// </param> /// <param name="configSectionName"> /// The name of the section containing the Unity configuration data. /// </param> public IocContainerConfigurator(IIocContainerConfigFileProvider configFileProvider, string configSectionName) { //validate params if (configFileProvider == null) { throw new ArgumentNullException("configFileProvider"); } if (configSectionName == null) { throw new ArgumentNullException("configSectionName"); } //populate this.configFileProvider = configFileProvider; this.configSectionName = configSectionName; }
/// <summary> /// Initializes a new instance of the <see cref="IocContainerConfigurator"/> class. /// </summary> /// <param name="configFileProvider"> /// The <see cref="IIocContainerConfigFileProvider"/> instance used to get the configuration file. /// </param> /// <param name="configSectionName"> /// The name of the section containing the Unity configuration data. /// </param> public IocContainerConfigurator(IIocContainerConfigFileProvider configFileProvider, string configSectionName) { //validate params if (configFileProvider == null) { throw new ArgumentNullException("configFileProvider"); } if (configSectionName == null) { throw new ArgumentNullException("configSectionName"); } //populate this.configFileProvider = configFileProvider; this.configSectionName = configSectionName; }