/// <summary> /// Creates a new <see cref="TypeRegistrationsProvider"/> that will return all the /// configuration for entlib blocks. /// </summary> /// <param name="configurationSource">Configuration source containing any customizations /// to the locator list.</param> /// <param name="reconfiguringEventSource">Event source notifying of container reconfiguration events.</param> /// <returns>The locator.</returns> public static ITypeRegistrationsProvider CreateDefaultProvider(IConfigurationSource configurationSource, IContainerReconfiguringEventSource reconfiguringEventSource) { return(ConfigurationBasedTypeRegistrationsProviderFactory.CreateProvider(configurationSource, reconfiguringEventSource)); }
/// <summary> /// Creates a new <see cref="TypeRegistrationsProvider"/> that will return all the /// configuration for entlib blocks. /// </summary> /// <returns>The locator.</returns> public static ITypeRegistrationsProvider CreateDefaultProvider() { return(ConfigurationBasedTypeRegistrationsProviderFactory.CreateProvider()); }