Logo Navs

RouteMatch Type

The parameters extracted by matching a URL against a template.

Instance members

Instance member Description

this.GetQueryParamValues

Full Usage: this.GetQueryParamValues

Parameters:
    name : string

Returns: IReadOnlyList<'T>
Type parameters: 'T

Reads every value of a repeated query parameter.

name : string
Returns: IReadOnlyList<'T>

this.Hash

Full Usage: this.Hash

Returns: string

The hash fragment, or null when the URL has none.

Returns: string

this.PathParams

Full Usage: this.PathParams

Returns: IReadOnlyDictionary<string, obj>
Returns: IReadOnlyDictionary<string, obj>

this.QueryParams

Full Usage: this.QueryParams

Returns: IReadOnlyDictionary<string, obj>
Returns: IReadOnlyDictionary<string, obj>

this.TryGetParam

Full Usage: this.TryGetParam

Parameters:
    name : string
    value : byref<'T>

Returns: bool
Type parameters: 'T

Reads a parameter from the path first, then from the query.

name : string
value : byref<'T>
Returns: bool

this.TryGetPathParam

Full Usage: this.TryGetPathParam

Parameters:
    name : string
    value : byref<'T>

Returns: bool
Type parameters: 'T
name : string
value : byref<'T>
Returns: bool

this.TryGetQueryParam

Full Usage: this.TryGetQueryParam

Parameters:
    name : string
    value : byref<'T>

Returns: bool
Type parameters: 'T
name : string
value : byref<'T>
Returns: bool

Type something to start searching.