TemplateSegment Type
A discriminated union that represents the different types of segments that a URL can have
Union cases
| Union case |
Description
|
|
A segment of the URL that is a parameter
Example/users/:id will have the segments [ Plain "users"; ParamSegment ("id", String) ] |
Full Usage:
Plain string
Parameters:
string
|
A segment of the URL that is a constant string
Example/users/disable will have the segments [ Plain "users"; Plain "disable" ] |
Instance members
| Instance member |
Description
|
Full Usage:
this.IsParamSegment
Returns: bool
|
|
Full Usage:
this.IsPlain
Returns: bool
|
|
Navs