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