示例#1
0
        public void ConfigureServices(IServiceCollection services)
        {
            if (_environment.IsDevelopment())
            {
                ServiceInjection.InjectDevelopmentServices(services, Configuration);
                return;
            }

            ServiceInjection.InjectProductionServices(services, Configuration);
        }
示例#2
0
 public void ConfigureServices(IServiceCollection services)
 {
     ServiceInjection.InjectDevelopmentServices(services, Configuration);
 }