1 instantiation of DefaultWebAssemblyJSRuntime
Microsoft.AspNetCore.Components.WebAssembly (1)
Services\DefaultWebAssemblyJSRuntime.cs (1)
21public static readonly DefaultWebAssemblyJSRuntime Instance = new();
10 references to DefaultWebAssemblyJSRuntime
Microsoft.AspNetCore.Components.WebAssembly (10)
Hosting\WebAssemblyHostBuilder.cs (3)
299Services.AddSingleton<IJSRuntime>(DefaultWebAssemblyJSRuntime.Instance); 304Services.AddSingleton(new LazyAssemblyLoader(DefaultWebAssemblyJSRuntime.Instance)); 313builder.AddProvider(new WebAssemblyConsoleLoggerProvider(DefaultWebAssemblyJSRuntime.Instance));
Rendering\WebAssemblyRenderer.cs (3)
31: base(serviceProvider, loggerFactory, DefaultWebAssemblyJSRuntime.Instance.ReadJsonSerializerOptions(), jsComponentInterop) 43ElementReferenceContext = DefaultWebAssemblyJSRuntime.Instance.ElementReferenceContext; 44DefaultWebAssemblyJSRuntime.Instance.OnUpdateRootComponents += OnUpdateRootComponents;
Services\DefaultWebAssemblyJSRuntime.cs (1)
21public static readonly DefaultWebAssemblyJSRuntime Instance = new();
Services\InternalJSImportMethods.cs (1)
24return DefaultWebAssemblyJSRuntime.DeserializeOperations(components);
Services\WebAssemblyNavigationManager.cs (2)
71DefaultWebAssemblyJSRuntime.Instance.InvokeVoid(Interop.NavigateTo, uri, options); 85DefaultWebAssemblyJSRuntime.Instance.InvokeVoid(Interop.Refresh, forceReload);