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