編輯

共用方式為


IRouteMatchResult interface

Result of a call to replace route values for a parsed route

Properties

matchedParameters

Dictionary of the route value keys that were used as replacements

matchedParametersCount

The number of parameter replacements made

url

Resulting URL from the template replacement. Does NOT include any query parameters that would be added from extra route values.

Property Details

matchedParameters

Dictionary of the route value keys that were used as replacements

matchedParameters: {[key: string]: boolean}

Property Value

{[key: string]: boolean}

matchedParametersCount

The number of parameter replacements made

matchedParametersCount: number

Property Value

number

url

Resulting URL from the template replacement. Does NOT include any query parameters that would be added from extra route values.

url: string

Property Value

string