Esempio n. 1
0
 /// <summary>
 /// </summary>
 /// <param name="configuration"></param>
 /// <param name="descriptors"></param>
 /// <returns></returns>
 public static IIocAppConfiguration UseCastleWindsorForAspNetCore(this IAppConfiguration configuration,
                                                                  IEnumerable <ServiceDescriptor> descriptors)
 {
     return(configuration.UseCastleWindsor(false).Register(descriptors));
 }
Esempio n. 2
0
 /// <summary>
 /// </summary>
 /// <param name="configuration"></param>
 /// <returns></returns>
 public static IIocAppConfiguration UseCastleWindsorForAspNet(this IAppConfiguration configuration)
 {
     return(configuration.UseCastleWindsor(true));
 }
Esempio n. 3
0
 /// <summary>
 /// </summary>
 /// <param name="configuration"></param>
 /// <returns></returns>
 public static IIocAppConfiguration UseCastleWindsor(this IAppConfiguration configuration)
 {
     return(configuration.UseCastleWindsor(false));
 }