Property
Route.IsStatic
IsStatic #
Gets whether this route strictly matches its Path as an route template.
public virtual bool IsStatic { get; }Property Value #
Remarks #
Static routes are matched before non-static routes, are validated for route collisions and receive the router Prefix. Non-static routes, such as RegexRoute and PrefixRoute, interpret their path dynamically: they are matched after every static route, in their registration order, and are not validated for route collisions. Routes which override Match with a different semantic than route templates should also override this property.