public static ServiceProvider UseStartupAndBuild <TStartup>(this ServiceProviderServiceBuilder serviceProviderServiceBuilder) where TStartup : class, IStartup { var serviceProvider = serviceProviderServiceBuilder.UseStartupAndBuild <TStartup>(ServiceProviderHelper.GetNewEmptyServiceProvider()); return(serviceProvider); }
public static ServiceProviderServiceBuilder UseStartup <TStartup>(this ServiceProviderServiceBuilder serviceProviderServiceBuilder) where TStartup : class, IStartup { R5T.Liverpool.Startup.IServiceBuilderExtensions.UseStartup <TStartup>(serviceProviderServiceBuilder); return(serviceProviderServiceBuilder); }
public static ServiceProvider UseStartupAndBuild <TStartup>(this ServiceProviderServiceBuilder serviceProviderServiceBuilder, Func <IServiceProvider> configurationServiceProviderConstructor) where TStartup : class, IStartup { var serviceProvider = R5T.Liverpool.Startup.IServiceBuilderExtensions.UseStartupAndBuild <ServiceProvider, TStartup>(serviceProviderServiceBuilder, configurationServiceProviderConstructor); return(serviceProvider); }
public static ServiceProviderServiceBuilder New() { var output = new ServiceProviderServiceBuilder(); return(output); }