示例#1
0
 /// <summary>
 ///     Resolves all dependencies specified in the application configuration file `componentResolver` section.
 /// </summary>
 /// <param name="resolver">The `IComponentResolver` instance to resolve dependencies from.</param>
 public static void ResolveConfiguration(this IComponentResolver resolver)
 {
     ResolveConfiguration(resolver, ComponentResolverSection.GetConfiguration());
 }
 /// <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());
 }