TestNavigationManager Class

The NavigationManager of a ComponentTestHost. The navigations within the base URI update the URL of the document (history.pushState()) and notify the router; the other navigations are recorded in TestNavigationManager.History without leaving the page.

public sealed class TestNavigationManager : NavigationManager
Inheritance
NavigationManager TestNavigationManager

Properties

NameDescription
HistoryGets the navigations, in the order they were requested.

Gets the navigations, in the order they were requested.

public IReadOnlyList<NavigationHistoryEntry> History { get; }