Class CanActivateViewFetcher
- Namespace
- ReactiveUI
- Assembly
- ReactiveUI.dll
This class implements View Activation for classes that explicitly describe
their activation via ICan
- Inheritance
-
Can
Activate View Fetcher
- Implements
- Extension Methods
Constructors
CanActivateViewFetcher()
Methods
GetActivationForView(IActivatableView)
Get an observable defining whether the view is active.
Parameters
view
IActivatableView The view to observe.
Returns
- IObservable<bool>
An observable tracking whether the view is active.
GetAffinityForView(Type)
Returns a positive integer for derived instances of the ICan
Parameters
view
TypeThe source type to check.
Returns
- int
A positive integer if Get
Activation is supported, zero otherwise.For View(IActivatable View)