public static IServiceBuilder Singleton(this IServiceBuilder service) { return(service.LifeTime(LifeTime.Singleton)); }
public static IServiceBuilder PerWebRequest(this IServiceBuilder service) { return(service.LifeTime(LifeTime.PerWebRequest)); }
public static IServiceBuilder PerThread(this IServiceBuilder service) { return(service.LifeTime(LifeTime.PerThread)); }
public static IServiceBuilder Transient(this IServiceBuilder service) { return(service.LifeTime(LifeTime.Transient)); }