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