Example #1
0
        public static ServiceProvider UseStartupAndBuild <TStartup>(this ServiceProviderServiceBuilder serviceProviderServiceBuilder)
            where TStartup : class, IStartup
        {
            var serviceProvider = serviceProviderServiceBuilder.UseStartupAndBuild <TStartup>(ServiceProviderHelper.GetNewEmptyServiceProvider());

            return(serviceProvider);
        }
Example #2
0
        public static ServiceProviderServiceBuilder UseStartup <TStartup>(this ServiceProviderServiceBuilder serviceProviderServiceBuilder)
            where TStartup : class, IStartup
        {
            R5T.Liverpool.Startup.IServiceBuilderExtensions.UseStartup <TStartup>(serviceProviderServiceBuilder);

            return(serviceProviderServiceBuilder);
        }
Example #3
0
        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);
        }
Example #4
0
        public static ServiceProviderServiceBuilder New()
        {
            var output = new ServiceProviderServiceBuilder();

            return(output);
        }