RoutedControlHostUnsafe class¶
Attributes: [RequiresDynamicCode("RoutedControlHostUnsafe asks the service locator for IViewFor<> closed over the view model's run-time type. Use RoutedControlHost, which uses the generated view lookup and Map registrations, to stay ahead-of-time safe.")] [DebuggerDisplay("{DefaultContent}, {Router}")]
Defined in
Namespace: ReactiveUI.Winforms
Assembly: ReactiveUI.Winforms.dll
Full name: ReactiveUI.Winforms.RoutedControlHostUnsafe
Modifiers: public
Summary¶
A RoutedControlHost that also finds views registered only with the service locator.
Applies to
net481
Class hierarchy
classDiagram
class RoutedControlHostUnsafe
class RoutedControlHost
RoutedControlHost <|-- RoutedControlHostUnsafe
Inherits from: RoutedControlHost
Remarks¶
RoutedControlHost 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 RoutedControlHost when you can.
Constructors¶
| Name | Summary |
|---|---|
| .ctor | Initializes a new instance of the [RoutedControlHostUnsafe](# class. |
Inherited members
ReactiveUI.Winforms.RoutedControlHost.#ctorReactiveUI.Winforms.RoutedControlHost.Dispose(System.Boolean)ReactiveUI.Winforms.RoutedControlHost.DefaultContentReactiveUI.Winforms.RoutedControlHost.RouterReactiveUI.Winforms.RoutedControlHost.ViewContractObservableReactiveUI.Winforms.RoutedControlHost.ViewLocatorReactiveUI.Winforms.RoutedControlHost.PropertyChangingReactiveUI.Winforms.RoutedControlHost.PropertyChangedSystem.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