33 references to CreateParameter
Microsoft.AspNetCore.Routing (2)
InlineRouteParameterParser.cs (2)
24
return TemplatePart.
CreateParameter
(
88
return TemplatePart.
CreateParameter
(parameterName,
Microsoft.AspNetCore.Routing.Tests (31)
Patterns\RoutePatternFactoryTest.cs (2)
631
var templatePart = TemplatePart.
CreateParameter
("t", false, false, null, constraints);
658
var templatePart = TemplatePart.
CreateParameter
("t", false, false, null, constraints);
Template\TemplateParserTests.cs (29)
36
TemplatePart.
CreateParameter
("p", false, false, defaultValue: null, inlineConstraints: null));
55
TemplatePart.
CreateParameter
("p", false, true, defaultValue: null, inlineConstraints: null));
95
expected.Segments[0].Parts.Add(TemplatePart.
CreateParameter
("p1",
103
expected.Segments[1].Parts.Add(TemplatePart.
CreateParameter
("p2",
111
expected.Segments[2].Parts.Add(TemplatePart.
CreateParameter
("p3",
134
expected.Segments[0].Parts.Add(TemplatePart.
CreateParameter
("p1",
156
expected.Segments[0].Parts.Add(TemplatePart.
CreateParameter
("p1",
179
expected.Segments[0].Parts.Add(TemplatePart.
CreateParameter
("p1",
186
expected.Segments[0].Parts.Add(TemplatePart.
CreateParameter
("p2",
209
expected.Segments[0].Parts.Add(TemplatePart.
CreateParameter
("p1",
232
expected.Segments[0].Parts.Add(TemplatePart.
CreateParameter
("p1",
238
expected.Segments[0].Parts.Add(TemplatePart.
CreateParameter
("p2",
262
expected.Segments[0].Parts.Add(TemplatePart.
CreateParameter
("p1",
268
expected.Segments[0].Parts.Add(TemplatePart.
CreateParameter
("p2",
292
expected.Segments[0].Parts.Add(TemplatePart.
CreateParameter
("p1",
298
expected.Segments[0].Parts.Add(TemplatePart.
CreateParameter
("p2",
305
expected.Segments[0].Parts.Add(TemplatePart.
CreateParameter
("p3",
330
expected.Segments[0].Parts.Add(TemplatePart.
CreateParameter
("p1",
336
expected.Segments[0].Parts.Add(TemplatePart.
CreateParameter
("p2",
343
expected.Segments[0].Parts.Add(TemplatePart.
CreateParameter
("p3",
368
expected.Segments[0].Parts.Add(TemplatePart.
CreateParameter
("p1",
374
expected.Segments[0].Parts.Add(TemplatePart.
CreateParameter
("p2",
384
expected.Segments[1].Parts.Add(TemplatePart.
CreateParameter
("p3",
405
expected.Segments[0].Parts.Add(TemplatePart.
CreateParameter
("p1",
412
expected.Segments[1].Parts.Add(TemplatePart.
CreateParameter
("p2",
418
expected.Segments[1].Parts.Add(TemplatePart.
CreateParameter
("p3",
442
expected.Segments[0].Parts.Add(TemplatePart.
CreateParameter
("p2",
450
expected.Segments[1].Parts.Add(TemplatePart.
CreateParameter
("p3",
478
TemplatePart.
CreateParameter
("p1",