Method TryGetRouteParameter
TryGetRouteParameter<TParam, TViewModel>(RouteBase<TParam, TViewModel>, out TParam)
Gets the route parameter from the current route.
Declaration
public 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 Parameters
Name |
Description |
TParam |
|
TViewModel |
|
Implements