public static IConfigurableNSubContainer RegisterPerScope <TKey>(this IConfigurableNSubContainer container, Func <INSubResolver, TKey> factory) { return(container.Register(factory, NSubLifetime.PerScope)); }
public static IConfigurableNSubContainer RegisterSingleton <TKey, TImpl>(this IConfigurableNSubContainer container) where TImpl : TKey { return(container.Register <TKey, TImpl>(NSubLifetime.Singleton)); }
public static IConfigurableNSubContainer RegisterPerScope <TKey, TImpl>(this IConfigurableNSubContainer container) where TImpl : TKey { return(container.Register <TKey, TImpl>(NSubLifetime.PerScope)); }