Exemple #1
0
 public static IWindsorContainer AddChained <TService, TImplementation1, TImplementation2>(this IWindsorContainer container,
                                                                                           LifestyleType lifestyleType)
     where TService : class
     where TImplementation1 : TService
     where TImplementation2 : TService
 {
     return(container.AddChained <TService>(lifestyleType, typeof(TImplementation1), typeof(TImplementation2)));
 }
Exemple #2
0
 public static IWindsorContainer AddChained <TService>(this IWindsorContainer container,
                                                       LifestyleType lifestyleType,
                                                       params Type[] implementationTypes) where TService : class
 {
     return(container.AddChained(lifestyleType, typeof(TService), implementationTypes));
 }