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