Method GetChildService
GetChildService(IRoutedViewModelBase, Type)
Gets a child view model service associated with the specified view model.
Declaration
public static object? GetChildService(IRoutedViewModelBase viewModel, Type serviceType)
Parameters
| Type | Name | Description |
|---|---|---|
| IRoutedViewModelBase | viewModel | |
| Type | serviceType |
Returns
| Type | Description |
|---|---|
| object |