Browse Source

Replace ServiceConfigurationContext with IServiceCollection

pull/594/head
Bipin Paul 8 years ago
committed by GitHub
parent
commit
f24fba82fc
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 6
      docs/en/Getting-Started-AspNetCore-Application.md

6
docs/en/Getting-Started-AspNetCore-Application.md

@ -75,11 +75,11 @@ namespace BasicAspNetCoreApplication
{
public class Startup
{
public IServiceProvider ConfigureServices(ServiceConfigurationContext context)
public IServiceProvider ConfigureServices(IServiceCollection services)
{
context.Services.AddApplication<AppModule>();
services.AddApplication<AppModule>();
return context.Services.BuildServiceProviderFromFactory();
return services.BuildServiceProviderFromFactory();
}
public void Configure(IApplicationBuilder app)

Loading…
Cancel
Save