1 write to Pattern
Microsoft.AspNetCore.Mvc.Core (1)
Routing\ConventionalRouteEntry.cs (1)
40
Pattern
= RoutePatternFactory.Parse(pattern, defaults, constraints);
6 references to Pattern
Microsoft.AspNetCore.Mvc.Core (6)
Routing\ActionEndpointFactory.cs (6)
93
var updatedRoutePattern = _routePatternTransformer.SubstituteRequiredValues(route.
Pattern
, action.RouteValues);
192
if (route.
Pattern
.GetParameter(key) != null)
197
else if (route.
Pattern
.Defaults.TryGetValue(key, out var value))
209
var pattern = _routePatternTransformer.SubstituteRequiredValues(route.
Pattern
, requiredValues);
213
throw new InvalidOperationException("Failed to create a conventional route for pattern: " + route.
Pattern
);
220
DisplayName = "Route: " + route.
Pattern
.RawText,