RoutedViewHostUnsafe class¶
Attributes: [RequiresDynamicCode("RoutedViewHostUnsafe asks the service locator for IViewFor<> closed over the view model's run-time type. Use RoutedViewHost, which uses the generated view lookup and Map registrations, to stay ahead-of-time safe.")] [DebuggerDisplay("{Router}, {ViewLocator}")]
Defined in
Namespace: ReactiveUI.Reactive
Assembly: ReactiveUI.Reactive.dll
Full name: ReactiveUI.Reactive.RoutedViewHostUnsafe
Modifiers: public
Summary¶
A RoutedViewHost that also finds views registered only with the service locator.
Applies to
net10.0-ios26.0, net10.0-maccatalyst26.0, net10.0-tvos26.0, net10.0-windows7.0, net10.0-windows10.0.19041, net10.0-windows10.0.19041, net9.0-windows7.0, net9.0-windows10.0.19041, net9.0-windows10.0.19041, net8.0-windows7.0, net8.0-windows10.0.19041, net8.0-windows10.0.19041, net462, net481
Class hierarchy
classDiagram
class RoutedViewHostUnsafe
class RoutedViewHost
RoutedViewHost <|-- RoutedViewHostUnsafe
Inherits from: RoutedViewHost
Remarks¶
RoutedViewHost asks the view locator's generated view lookup and its Map registrations. This
twin asks those first, then the service locator for IViewFor closed over the view model's
run-time type.
Closing a generic type at run time needs code the compiler never generated, so this type is not safe to compile ahead of time. Use RoutedViewHost when you can.
Constructors¶
| Name | Summary |
|---|---|
| .ctor | Initializes a new instance of the [RoutedViewHostUnsafe](# class. |
Inherited members
ReactiveUI.Reactive.RoutedViewHost.#ctorReactiveUI.Reactive.RoutedViewHost.PushViewController(UIKit.UIViewController,System.Boolean)ReactiveUI.Reactive.RoutedViewHost.PopViewController(System.Boolean)ReactiveUI.Reactive.RoutedViewHost.Dispose(System.Boolean)ReactiveUI.Reactive.RoutedViewHost.RouterReactiveUI.Reactive.RoutedViewHost.ViewContractObservableReactiveUI.Reactive.RoutedViewHost.ViewLocatorSystem.Object.Equals(System.Object)System.Object.Equals(System.Object,System.Object)System.Object.GetHashCodeSystem.Object.GetTypeSystem.Object.MemberwiseCloneSystem.Object.ReferenceEquals(System.Object,System.Object)System.Object.ToString