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

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

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

            return(output);
        }