A new pattern for adding multi-registration services

This is some cleanup of how we add multi-registration services to avoid
duplication when calling AddMvcServices multiple times. Also improved
tests to be more clear, and to verify all of our special cases
explicitly.
This commit is contained in:
Ryan Nowak 2015-06-09 14:58:58 -07:00
parent 0861612779
commit a665e48826
1 changed files with 1 additions and 1 deletions

View File

@ -417,4 +417,4 @@ namespace Microsoft.Framework.DependencyInjection
routeOptions => routeOptions.ConstraintMap.Add("exists", typeof(KnownRouteValueConstraint)));
}
}
}
}