Sisk

Property

PrefixRoute.IsStatic

Namespace
Sisk.Core.Routing
Assembly
Sisk.Core.dll

IsStatic #

Gets whether this route strictly matches its Path as an route template.

C#
public override bool IsStatic { get; }

Property Value #

bool

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.

Type to search the documentation and the API reference.