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