We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ebc2537 commit dff3c70Copy full SHA for dff3c70
src/Mvc/Mvc.TagHelpers/test/ComponentTagHelperTest.cs
@@ -104,6 +104,14 @@ protected override void BuildRenderTree(RenderTreeBuilder builder)
104
105
class MockNavigationManager : NavigationManager, IHostEnvironmentNavigationManager
106
{
107
+ private EventHandler<NavigationEventArgs>? _onNavigateTo;
108
+
109
+ public event EventHandler<NavigationEventArgs> OnNavigateTo
110
+ {
111
+ add => _onNavigateTo += value;
112
+ remove => _onNavigateTo -= value;
113
+ }
114
115
public MockNavigationManager()
116
117
Initialize("https://localhost:85/subdir/", "https://localhost:85/subdir/path?query=value#hash");
0 commit comments