Browse Source

Merge pull request #594 from iAmBipinPaul/patch-1

Replace ServiceConfigurationContext with IServiceCollection
pull/595/head
Halil İbrahim Kalkan 8 years ago
committed by GitHub
parent
commit
e4543eb714
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