INavigationParameter.GetValue(string, T) method¶
Defined in
Type: INavigationParameter
Namespace: Sextant
Assembly: Sextant.dll
Applies to
net11.0, net10.0
T GetValue<T>(string key, T defaultValue)
Summary: Returns the parameter value, or the supplied fallback when the key is absent.
Type parameters
| Name | Description |
|---|---|
T | The view model or parameter value type. |
Parameters
| Name | Type | Description |
|---|---|---|
key | string | The navigation parameter key. |
defaultValue | T | The fallback returned when the key is absent. |
Returns: T -- The typed parameter value or the fallback.