1 instantiation of WebAssemblyNavigationManager
Microsoft.AspNetCore.Components.WebAssembly (1)
Hosting\WebAssemblyHostBuilder.cs (1)
169WebAssemblyNavigationManager.Instance = new WebAssemblyNavigationManager(baseUri, uri);
12 references to WebAssemblyNavigationManager
Microsoft.AspNetCore.Components.WebAssembly (12)
Hosting\WebAssemblyHost.cs (1)
157WebAssemblyNavigationManager.Instance.CreateLogger(loggerFactory);
Hosting\WebAssemblyHostBuilder.cs (3)
169WebAssemblyNavigationManager.Instance = new WebAssemblyNavigationManager(baseUri, uri); 175var hostEnvironment = new WebAssemblyHostEnvironment(applicationEnvironment, WebAssemblyNavigationManager.Instance.BaseUri); 300Services.AddSingleton<NavigationManager>(WebAssemblyNavigationManager.Instance);
Infrastructure\JSInteropMethods.cs (3)
22=> WebAssemblyNavigationManager.Instance.SetLocation(uri, null, isInterceptedLink); 30WebAssemblyNavigationManager.Instance.SetLocation(uri, state, isInterceptedLink); 39return await WebAssemblyNavigationManager.Instance.HandleLocationChangingAsync(uri, state, isInterceptedLink);
Services\WebAssemblyNavigationManager.cs (5)
17private ILogger<WebAssemblyNavigationManager> _logger = default!; 20/// Gets the instance of <see cref="WebAssemblyNavigationManager"/>. 22public static WebAssemblyNavigationManager Instance { get; set; } = default!; 33throw new InvalidOperationException($"The {nameof(WebAssemblyNavigationManager)} has already created a logger."); 36_logger = loggerFactory.CreateLogger<WebAssemblyNavigationManager>();