namespace Microsoft.AspNetCore.Routing.Patterns {
public sealed class RoutePatternException : Exception {
public RoutePatternException(string pattern, string message);
}
public static class RoutePatternFactory {
+ public static RoutePattern Combine(RoutePattern? left, RoutePattern right);
public static RoutePattern Parse(string pattern);
+ public static RoutePattern Parse(string pattern, RouteValueDictionary? defaults, RouteValueDictionary? parameterPolicies);
+ public static RoutePattern Parse(string pattern, RouteValueDictionary? defaults, RouteValueDictionary? parameterPolicies, RouteValueDictionary? requiredValues);
public static RoutePattern Parse(string pattern, object? defaults, object? parameterPolicies);
public static RoutePattern Parse(string pattern, object? defaults, object? parameterPolicies, object? requiredValues);
+ public static RoutePattern Pattern(RouteValueDictionary? defaults, RouteValueDictionary? parameterPolicies, params RoutePatternPathSegment[] segments);
+ public static RoutePattern Pattern(RouteValueDictionary? defaults, RouteValueDictionary? parameterPolicies, IEnumerable<RoutePatternPathSegment> segments);
public static RoutePattern Pattern(object? defaults, object? parameterPolicies, params RoutePatternPathSegment[] segments);
public static RoutePattern Pattern(object? defaults, object? parameterPolicies, IEnumerable<RoutePatternPathSegment> segments);
+ public static RoutePattern Pattern(string? rawText, RouteValueDictionary? defaults, RouteValueDictionary? parameterPolicies, params RoutePatternPathSegment[] segments);
+ public static RoutePattern Pattern(string? rawText, RouteValueDictionary? defaults, RouteValueDictionary? parameterPolicies, IEnumerable<RoutePatternPathSegment> segments);
public static RoutePattern Pattern(string? rawText, object? defaults, object? parameterPolicies, params RoutePatternPathSegment[] segments);
public static RoutePattern Pattern(string? rawText, object? defaults, object? parameterPolicies, IEnumerable<RoutePatternPathSegment> segments);
}
public abstract class RoutePatternTransformer {
+ public virtual RoutePattern? SubstituteRequiredValues(RoutePattern original, RouteValueDictionary requiredValues);
public abstract RoutePattern? SubstituteRequiredValues(RoutePattern original, object requiredValues);
}
}