INavigationInitialize interface

Namespace Runic.Navigation · Runic.Navigation 0.7.0-preview.5

public interface INavigationInitialize

Initializes a new entry once, before it first becomes current.

Methods

InitializeAsync

ValueTask InitializeAsync(NavigationEntryContext entry, CancellationToken cancellationToken)

Initializes the entry's content. Runs outside model turns and at most once per entry.

Parameters

entry

The entry being created.

cancellationToken

Cancelled when the transition is superseded, cancelled or closed.