Class NavigationTransitionPreparationContext
- Namespace
- MackySoft.Navigathena
- Assembly
- MackySoft.Navigathena.dll
Registration available only during the runtime-owned preparation callback.
public abstract class NavigationTransitionPreparationContext
- Inheritance
-
NavigationTransitionPreparationContext
- Inherited Members
- Extension Methods
Properties
Lifetime
Ownership and borrowing for this transition effect.
public abstract LifetimeContext Lifetime { get; }
Property Value
Methods
ObserveProgress<TState>(ProgressSource<TState>, Action<TState>)
Immediately receives the current state, then ordered updates until this effect settles or fails.
public abstract void ObserveProgress<TState>(ProgressSource<TState> source, Action<TState> receive)
Parameters
sourceProgressSource<TState>receiveAction<TState>
Type Parameters
TState
Remarks
The runtime owns unsubscription and waits for an in-flight callback before releasing the display. Callbacks run synchronously on the reporting thread; use a UI adapter when reports originate off the UI thread. Observer failures are reported by the navigation operation after safe settlement.
Exceptions
- NavigationConfigurationException
The source belongs to another navigation operation.
RegisterExistingViewAdapter(IViewAdapter)
public abstract void RegisterExistingViewAdapter(IViewAdapter adapter)
Parameters
adapterIViewAdapter
RegisterViewAdapter(IViewAdapter)
public abstract void RegisterViewAdapter(IViewAdapter adapter)
Parameters
adapterIViewAdapter