Method MapViewModel
MapViewModel<TViewModel>()
Maps a routed view model type so routes can be added for it. View models are created the same way the application navigator creates them, including constructor injection from Services and parent-provided child services.
Declaration
public void MapViewModel<TViewModel>() where TViewModel : class, IRoutedViewModelBase
Type Parameters
| Name | Description |
|---|---|
| TViewModel |