14 references to DefaultInlineConstraintResolver
Microsoft.AspNetCore.Mvc.Core.Test (1)
Routing\AttributeRoutingTest.cs (1)
171
var inlineConstraintResolver = new
DefaultInlineConstraintResolver
(routeOptions.Object, Mock.Of<IServiceProvider>());
Microsoft.AspNetCore.Mvc.ViewFeatures.Test (2)
PageRemoteAttributeTest.cs (1)
193
provider => new
DefaultInlineConstraintResolver
(provider.GetRequiredService<IOptions<RouteOptions>>(), provider));
RemoteAttributeTest.cs (1)
494
provider => new
DefaultInlineConstraintResolver
(provider.GetRequiredService<IOptions<RouteOptions>>(), provider));
Microsoft.AspNetCore.Routing.Microbenchmarks (2)
src\Http\Routing\test\UnitTests\Matching\RouteMatcherBuilder.cs (1)
21
_constraintResolver = new
DefaultInlineConstraintResolver
(Options.Create(routeOptions), new TestServiceProvider());
src\Http\Routing\test\UnitTests\Matching\TreeRouterMatcherBuilder.cs (1)
37
new
DefaultInlineConstraintResolver
(Options.Create(routeOptions), new TestServiceProvider()));
Microsoft.AspNetCore.Routing.Tests (9)
DefaultInlineConstraintResolverTest.cs (1)
371
return new
DefaultInlineConstraintResolver
(optionsAccessor.Object, new TestServiceProvider());
InlineRouteParameterParserTests.cs (1)
966
return new
DefaultInlineConstraintResolver
(accessor, serviceProvider);
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());
TemplateParserDefaultValuesTests.cs (1)
151
return new
DefaultInlineConstraintResolver
(accessor, serviceProvider);
Tree\TreeRouteBuilderTest.cs (1)
260
return new
DefaultInlineConstraintResolver
(accessor, serviceProvider);
Tree\TreeRouterTest.cs (1)
2066
return new
DefaultInlineConstraintResolver
(optionsMock.Object, new TestServiceProvider());