/// <summary> /// Initializes an instance of <see cref="ConfigurationContainer"/> /// </summary> /// <param name="serviceProvider">A service provider to resolve services.</param> public ConfigurationContainer(IServiceProvider serviceProvider) { ConfigurationContainerRegistration.Registration(this); this.parentServiceProvider = serviceProvider; }
/// <summary> /// Initializes a new instance of the <see cref="ConfigurationContainer"/> class. /// </summary> /// <param name="serviceProvider">A service provider to resolve services.</param> /// <param name="profile">The profile.</param> public ConfigurationContainer(IServiceProvider serviceProvider, Profile profile) { ConfigurationContainerRegistration.Registration(this, profile); this.parentServiceProvider = serviceProvider; }
/// <summary> /// Initializes an instance of <see cref="ConfigurationContainer"/> /// </summary> public ConfigurationContainer() : this(null) { ConfigurationContainerRegistration.Registration(this); }