1 instantiation of DefaultWebAssemblyJSRuntime
Microsoft.AspNetCore.Components.WebAssembly (1)
Services\DefaultWebAssemblyJSRuntime.cs (1)
21public static readonly DefaultWebAssemblyJSRuntime Instance = new();
16 references to DefaultWebAssemblyJSRuntime
Microsoft.AspNetCore.Components.WebAssembly (15)
Hosting\WebAssemblyHostBuilder.cs (3)
320Services.AddSingleton<IJSRuntime>(DefaultWebAssemblyJSRuntime.Instance); 325Services.AddSingleton(new LazyAssemblyLoader(DefaultWebAssemblyJSRuntime.Instance)); 335builder.AddProvider(new WebAssemblyConsoleLoggerProvider(DefaultWebAssemblyJSRuntime.Instance));
JSExports.g.cs (5)
57__invokeRetVal = global::Microsoft.AspNetCore.Components.WebAssembly.Services.DefaultWebAssemblyJSRuntime.InvokeDotNet(assemblyName, methodIdentifier, dotNetObjectId, argsJson); 86global::Microsoft.AspNetCore.Components.WebAssembly.Services.DefaultWebAssemblyJSRuntime.EndInvokeJS(argsJson); 119global::Microsoft.AspNetCore.Components.WebAssembly.Services.DefaultWebAssemblyJSRuntime.BeginInvokeDotNet(callId, assemblyNameOrDotNetObjectId, methodIdentifier, argsJson); 148global::Microsoft.AspNetCore.Components.WebAssembly.Services.DefaultWebAssemblyJSRuntime.UpdateRootComponentsCore(operationsJson, appState); 177global::Microsoft.AspNetCore.Components.WebAssembly.Services.DefaultWebAssemblyJSRuntime.ReceiveByteArrayFromJS(id, data);
Rendering\WebAssemblyRenderer.cs (3)
34: base(serviceProvider, loggerFactory, DefaultWebAssemblyJSRuntime.Instance.ReadJsonSerializerOptions(), jsComponentInterop) 47ElementReferenceContext = DefaultWebAssemblyJSRuntime.Instance.ElementReferenceContext; 48DefaultWebAssemblyJSRuntime.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);
Microsoft.AspNetCore.Components.WebAssembly.Tests (1)
JSObjectReferenceJsonConverterTest.cs (1)
17JsonSerializerOptions = DefaultWebAssemblyJSRuntime.Instance.JsonSerializerOptions;