/// <summary> /// Creates an instance of all types implementing the `IComponentRegistryBootstrap` interface and calls the `Register` /// method. /// </summary> /// <param name="registry">The `IComponentRegistry` instance to register the mapping against.</param> public static void RegistryBoostrap(this IComponentRegistry registry) { RegistryBoostrap(registry, ComponentRegistrySection.Configuration(), BootstrapSection.Configuration()); }
/// <summary> /// Attempts to register all components specified in the application configuration file `componentRegistry` section. /// </summary> /// <param name="registry">The `IComponentRegistry` instance to register the mapping against.</param> public static void AttemptRegisterConfiguration(this IComponentRegistry registry) { AttemptRegisterConfiguration(registry, ComponentRegistrySection.GetConfiguration()); }