1 write to Template
Microsoft.AspNetCore.Routing (1)
Template\TemplateMatcher.cs (1)
32Template = template;
10 references to Template
Microsoft.AspNetCore.Routing (10)
Template\TemplateMatcher.cs (8)
36_hasDefaultValue = new bool[Template.Segments.Count]; 37_defaultValues = new object[Template.Segments.Count]; 39for (var i = 0; i < Template.Segments.Count; i++) 41var segment = Template.Segments[i]; 60var routePattern = Template.ToRoutePattern(); 65/// Gets the default values for parameters in the <see cref="Template"/>. 75/// Evaluates if the provided <paramref name="path"/> matches the <see cref="Template"/>. Populates 80/// <returns><see langword="true"/> if <paramref name="path"/> matches <see cref="Template"/>.</returns>
Tree\InboundMatch.cs (1)
40return TemplateMatcher?.Template?.TemplateText;
Tree\UrlMatchingNode.cs (1)
84return $"Length: {Depth}, Matches: {string.Join(" | ", Matches?.Select(m => $"({m.TemplateMatcher.Template.TemplateText})"))}";