/// <summary>
 ///     Creates an instance of all types implementing the `IComponentRegistryBootstrap` interface and calls the `Register`
 ///     method.
 /// </summary>
 /// <param name="registry">The `IComponentRegistry` instance to pass register the components in.</param>
 public static void RegistryBoostrap(this IComponentRegistry registry)
 {
     RegistryBoostrap(registry, ComponentRegistrySection.Configuration(), BootstrapSection.Configuration());
 }
Exemplo n.º 2
0
 /// <summary>
 ///     Creates an instance of all types implementing the `IComponentResolverBootstrap` interface and calls the `Resolve`
 ///     method.
 /// </summary>
 /// <param name="resolver">The `IComponentResolver` instance to resolve dependencies from.</param>
 public static void ResolverBoostrap(this IComponentResolver resolver)
 {
     ResolverBoostrap(resolver, ComponentResolverSection.Configuration(), BootstrapSection.Configuration());
 }