1 write to Content
Microsoft.AspNetCore.Routing (1)
Patterns\RoutePatternSeparatorPart.cs (1)
41Content = content;
14 references to Content
Microsoft.AspNetCore.Mvc.Core (1)
Routing\RoutePatternWriter.cs (1)
68sb.Append(separatorPart.Content);
Microsoft.AspNetCore.OpenApi (1)
Extensions\ApiDescriptionExtensions.cs (1)
70strippedRoute.Append(separatorPart.Content);
Microsoft.AspNetCore.Routing (8)
Patterns\RoutePatternMatcher.cs (5)
220if (!stringSegment.Equals(part.Content, StringComparison.OrdinalIgnoreCase)) 313separator.Content, 389literal.Content, 408else if (part is RoutePatternSeparatorPart separator && ((indexOfLiteral + separator.Content.Length) != requestSegment.Length)) 456parameterStartIndex = newLastIndex + separator.Content.Length;
Patterns\RoutePatternSeparatorPart.cs (1)
51return Content;
Template\TemplateBinder.cs (1)
536if (!context.Accept(separatorPart.Content))
Template\TemplatePart.cs (1)
48Text = separator.Content;
Microsoft.AspNetCore.Routing.Tests (4)
Patterns\RoutePatternParserTest.cs (2)
745return x.Content == y.Content;
Template\TemplateSegmentTest.cs (2)
42Assert.Equal(separatorPartE.Content, ((RoutePatternSeparatorPart)routePatternPathSegment.Parts[2]).Content);