RunicNavigationServiceCollectionExtensions class

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

public static class RunicNavigationServiceCollectionExtensions

Registers the experimental window navigator.

Methods

AddRunicNavigation

public static IServiceCollection AddRunicNavigation(this IServiceCollection services)

Adds one IRunicModelContext per service scope, unless one is registered, so the window's content session shares it, and one RunicNavigator per scope built from that context, the scope's provider, the ILoggerFactory and the TimeProvider. Dispose the scope asynchronously; the navigator is disposed before the context it depends on.