9 instantiations of TestServiceProvider
Microsoft.AspNetCore.Routing.Tests (9)
DefaultInlineConstraintResolverTest.cs (1)
371
return new DefaultInlineConstraintResolver(optionsAccessor.Object, new
TestServiceProvider
());
EndpointRoutingMiddlewareFormOptionsTest.cs (1)
193
RequestServices = new
TestServiceProvider
(),
EndpointRoutingMiddlewareTest.cs (1)
458
RequestServices = new
TestServiceProvider
()
Matching\RouteMatcherBuilder.cs (1)
21
_constraintResolver = new DefaultInlineConstraintResolver(Options.Create(routeOptions), new
TestServiceProvider
());
Matching\TreeRouterMatcherBuilder.cs (1)
37
new DefaultInlineConstraintResolver(Options.Create(routeOptions), new
TestServiceProvider
()));
RouteConstraintBuilderTest.cs (1)
184
var inlineConstraintResolver = new DefaultInlineConstraintResolver(options.Object, new
TestServiceProvider
());
RouteTest.cs (1)
1858
return new DefaultInlineConstraintResolver(routeOptionsMock.Object, new
TestServiceProvider
());
RoutingMetricsTests.cs (1)
180
RequestServices = new
TestServiceProvider
()
Tree\TreeRouterTest.cs (1)
2066
return new DefaultInlineConstraintResolver(optionsMock.Object, new
TestServiceProvider
());