Class ScreenInitializationContext
- Namespace
- MackySoft.Navigathena
- Assembly
- MackySoft.Navigathena.dll
Provides instance-owned acquisition and progress during a screen's one-time initialization.
public sealed class ScreenInitializationContext
- Inheritance
-
ScreenInitializationContext
- Inherited Members
Remarks
Registration and reporting close when initialization finishes. Acquired resources remain owned until the screen ends.
Properties
Lifetime
Registers resources in the same ownership sequence as construction, without configuring presentation or dependency injection.
public LifetimeContext Lifetime { get; }
Property Value
Remarks
These later registrations release before earlier construction registrations. Use TerminateAsync for final operations that need them.
Progress
Reports typed values or fractions for this initialization invocation.
public NavigationProgressReporter Progress { get; }