20 references to LiteralPart
Microsoft.AspNetCore.Routing (2)
Patterns\RoutePatternParser.cs (1)
307
parts.Add(RoutePatternFactory.
LiteralPart
(decoded));
Template\TemplatePart.cs (1)
163
return RoutePatternFactory.
LiteralPart
(Text!);
Microsoft.AspNetCore.Routing.Tests (18)
Patterns\RoutePatternFactoryTest.cs (4)
406
var literalPartA = RoutePatternFactory.
LiteralPart
("A");
435
var literalPartA = RoutePatternFactory.
LiteralPart
("A");
465
var literalPartA = RoutePatternFactory.
LiteralPart
("A");
505
var literalPartA = RoutePatternFactory.
LiteralPart
("A");
Patterns\RoutePatternParserTest.cs (13)
20
Segment(
LiteralPart
("cool")));
67
Segment(
LiteralPart
("cool")),
68
Segment(
LiteralPart
("awesome")),
69
Segment(
LiteralPart
("super")));
106
LiteralPart
("cool-"),
126
LiteralPart
("-cool")));
145
LiteralPart
("-cool-"),
164
LiteralPart
("cool-"),
166
LiteralPart
("-awesome")));
205
LiteralPart
("."),
225
LiteralPart
("."),
247
LiteralPart
("."),
249
LiteralPart
("."),
Template\TemplateSegmentTest.cs (1)
23
var literalPartA = RoutePatternFactory.
LiteralPart
("A");