4 instantiations of RouteConstraintBuilder
Microsoft.AspNetCore.Routing (3)
RouteBase.cs (1)
209
var constraintBuilder = new
RouteConstraintBuilder
(inlineConstraintResolver, parsedTemplate.TemplateText!);
Tree\TreeRouteBuilder.cs (2)
111
var constraintBuilder = new
RouteConstraintBuilder
(_constraintResolver, routeTemplate.TemplateText);
200
var constraintBuilder = new
RouteConstraintBuilder
(_constraintResolver, routeTemplate.TemplateText);
Microsoft.AspNetCore.Routing.Tests (1)
RouteConstraintBuilderTest.cs (1)
185
return new
RouteConstraintBuilder
(inlineConstraintResolver, template);
15 references to RouteConstraintBuilder
Microsoft.AspNetCore.Routing (5)
RouteBase.cs (1)
209
var
constraintBuilder = new RouteConstraintBuilder(inlineConstraintResolver, parsedTemplate.TemplateText!);
RouteConstraintBuilder.cs (2)
16
/// <see cref="
RouteConstraintBuilder
"/> allows iterative building a set of route constraints, and will
30
/// Creates a new instance of <see cref="
RouteConstraintBuilder
"/> instance.
Tree\TreeRouteBuilder.cs (2)
111
var
constraintBuilder = new RouteConstraintBuilder(_constraintResolver, routeTemplate.TemplateText);
200
var
constraintBuilder = new RouteConstraintBuilder(_constraintResolver, routeTemplate.TemplateText);
Microsoft.AspNetCore.Routing.Tests (10)
RouteConstraintBuilderTest.cs (10)
19
var
builder = CreateBuilder("{controller}/{action}");
38
var
builder = CreateBuilder("{controller}/{action}");
57
var
builder = CreateBuilder("{controller}/{action}");
76
var
builder = CreateBuilder("{controller}/{action}");
92
var
builder = CreateBuilder("{controller}/{action}");
105
var
builder = CreateBuilder("{controller}/{action}/{id}");
118
var
builder = CreateBuilder("{controller}/{action}/{id}");
131
var
builder = CreateBuilder("{controller}/{action}/{name}");
163
var
builder = CreateBuilder("{controller}/{action}");
177
private static
RouteConstraintBuilder
CreateBuilder(string template)