예제 #1
0
 public static IUnityContainer Register <T>(this IUnityContainer container, ITypeLifetimeManager lifetimeManager, CustomFactory <T> factory)
 {
     return(factory.RegisterWithContainer(container, lifetimeManager));
 }
예제 #2
0
 public static IUnityContainer Register <T>(this IUnityContainer container, CustomFactory <T> factory)
 {
     return(factory.RegisterWithContainer(container, new TransientLifetimeManager()));
 }
예제 #3
0
 public DependencyOverrideFactory(CustomFactory <T> parent)
 {
     _parent = parent;
 }