/// <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)); }
/// <summary> /// </summary> /// <param name="configuration"></param> /// <returns></returns> public static IIocAppConfiguration UseCastleWindsorForAspNet(this IAppConfiguration configuration) { return(configuration.UseCastleWindsor(true)); }
/// <summary> /// </summary> /// <param name="configuration"></param> /// <returns></returns> public static IIocAppConfiguration UseCastleWindsor(this IAppConfiguration configuration) { return(configuration.UseCastleWindsor(false)); }