Remove redundant AddOptions which is now a default hosting service

This commit is contained in:
John Luo 2016-01-07 17:45:36 -08:00
parent b942e96216
commit c742390a3c
1 changed files with 0 additions and 1 deletions

View File

@ -24,7 +24,6 @@ namespace Microsoft.Extensions.DependencyInjection
this IServiceCollection services,
Action<RouteOptions> configureOptions)
{
services.AddOptions();
services.TryAddTransient<IInlineConstraintResolver, DefaultInlineConstraintResolver>();
services.TryAddSingleton(UrlEncoder.Default);
services.TryAddSingleton<ObjectPoolProvider>(new DefaultObjectPoolProvider());