17 references to RemoteJSRuntime
Microsoft.AspNetCore.Components.Server (17)
Circuits\CircuitFactory.cs (2)
47var jsRuntime = (RemoteJSRuntime)scope.ServiceProvider.GetRequiredService<IJSRuntime>();
Circuits\CircuitHost.cs (2)
47RemoteJSRuntime jsRuntime, 93public RemoteJSRuntime JSRuntime { get; }
Circuits\RemoteErrorBoundaryLogger.cs (1)
31var shouldLogToClient = (_jsRuntime as RemoteJSRuntime)?.IsInitialized == true;
Circuits\RemoteJSDataStream.cs (4)
11private readonly RemoteJSRuntime _runtime; 24public static async Task<bool> ReceiveData(RemoteJSRuntime runtime, long streamId, long chunkId, byte[] chunk, string error) 37RemoteJSRuntime runtime, 59RemoteJSRuntime runtime,
Circuits\RemoteJSRuntime.cs (5)
19private readonly ILogger<RemoteJSRuntime> _logger; 43ILogger<RemoteJSRuntime> logger) 208private static partial void InvokeStaticDotNetMethodSuccess(ILogger<RemoteJSRuntime> logger, string assemblyName, string methodIdentifier, string? callbackId); 211private static partial void InvokeInstanceDotNetMethodSuccess(ILogger<RemoteJSRuntime> logger, string methodIdentifier, long dotNetObjectReference, string? callbackId); 225internal static void InvokeDotNetMethodSuccess(ILogger<RemoteJSRuntime> logger, in DotNetInvocationInfo invocationInfo)
Circuits\RemoteNavigationManager.cs (1)
112when (_jsRuntime is RemoteJSRuntime remoteRuntime && remoteRuntime.IsPermanentlyDisconnected)
Circuits\RemoteRenderer.cs (1)
47RemoteJSRuntime jsRuntime,
DependencyInjection\ComponentServiceCollectionExtensions.cs (1)
82services.AddScoped<IJSRuntime, RemoteJSRuntime>();