)>
Defined in Type: RoutedViewHost
Namespace: ReactiveUI.Reactive.Maui
Assembly: ReactiveUI.Maui.Reactive.dll
Applies to
net11.0-ios27.2, net11.0-android37.0, net11.0-macos27.2, net11.0-tvos27.2, net11.0-maccatalyst27.2, net11.0-windows10.0.19041, net10.0, net10.0-ios26.0, net10.0-maccatalyst26.0, net10.0-android36.0, net10.0-macos26.0, net10.0-tvos26.0, net10.0-windows10.0.19041
Overloads
-
public RoutedViewHost() -
protected RoutedViewHost(Func<IViewLocator, object, string?, IViewFor?> resolveView)
1. Overload
public RoutedViewHost()
Summary: Initializes a new instance of the RoutedViewHost class.
Exceptions
| Type | Condition |
|---|---|
| System.InvalidOperationException | You must register an IScreen class representing your App's main Screen. |
2. Overload
protected RoutedViewHost(Func<IViewLocator, object, string?, IViewFor?> resolveView)
Summary: Initializes a new instance of the RoutedViewHost class with its view lookup.
Parameters
| Name | Type | Description |
|---|---|---|
resolveView | Func | Asks a view locator for the view of a view model under a contract. |
Exceptions
| Type | Condition |
|---|---|
| System.InvalidOperationException | You must register an IScreen class representing your App's main Screen. |