Method TryGetRouteParameter
TryGetRouteParameter<TParam, TViewModel>(RouteBase<TParam, TViewModel>, out TParam)
Gets the route parameter from the current route.
Declaration
bool TryGetRouteParameter<TParam, TViewModel>(RouteBase<TParam, TViewModel> route, out TParam parameter) where TParam : notnull where TViewModel : class, IRoutedViewModel<TParam>
Parameters
Type | Name | Description |
---|---|---|
RouteBase<TParam, TViewModel> | route | |
TParam | parameter |
Returns
Type | Description |
---|---|
bool |
Type Parameters
Name | Description |
---|---|
TParam | |
TViewModel |