16 implementations of SendCoreAsync
Microsoft.AspNetCore.Components.Server (1)
Circuits\CircuitClientProxy.cs (1)
38public Task SendCoreAsync(string method, object[] args, CancellationToken cancellationToken = default)
Microsoft.AspNetCore.SignalR.Core (12)
Internal\HubCallerClients.cs (2)
113public Task SendCoreAsync(string method, object?[] args, CancellationToken cancellationToken = default) 144public Task SendCoreAsync(string method, object?[] args, CancellationToken cancellationToken = default)
Internal\NonInvokingSingleClientProxy.cs (1)
17public Task SendCoreAsync(string method, object?[] args, CancellationToken cancellationToken = default) =>
Internal\Proxies.cs (9)
19public Task SendCoreAsync(string method, object?[] args, CancellationToken cancellationToken = default) 36public Task SendCoreAsync(string method, object?[] args, CancellationToken cancellationToken = default) 55public Task SendCoreAsync(string method, object?[] args, CancellationToken cancellationToken = default) 72public Task SendCoreAsync(string method, object?[] args, CancellationToken cancellationToken = default) 93public Task SendCoreAsync(string method, object?[] args, CancellationToken cancellationToken = default) 108public Task SendCoreAsync(string method, object?[] args, CancellationToken cancellationToken = default) 125public Task SendCoreAsync(string method, object?[] args, CancellationToken cancellationToken = default) 142public Task SendCoreAsync(string method, object?[] args, CancellationToken cancellationToken = default) 160public Task SendCoreAsync(string method, object?[] args, CancellationToken cancellationToken = default)
Microsoft.AspNetCore.SignalR.Microbenchmarks (1)
TypedClientBuilderBenchmark.cs (1)
23public Task SendCoreAsync(string method, object[] args, CancellationToken cancellationToken = default)
Microsoft.AspNetCore.SignalR.Tests (2)
Internal\TypedClientBuilderTests.cs (2)
346public Task SendCoreAsync(string method, object[] args, CancellationToken cancellationToken) 360public Task SendCoreAsync(string method, object[] args, CancellationToken cancellationToken)
31 references to SendCoreAsync
Microsoft.AspNetCore.Components.Server (1)
Circuits\CircuitClientProxy.cs (1)
45return Client.SendCoreAsync(method, args, cancellationToken);
Microsoft.AspNetCore.Components.Server.Tests (15)
Circuits\CircuitClientProxyTest.cs (2)
17clientProxy.Setup(c => c.SendCoreAsync(It.IsAny<string>(), It.IsAny<object[]>(), It.IsAny<CancellationToken>())) 38c => c.SendCoreAsync(It.IsAny<string>(), It.IsAny<object[]>(), It.IsAny<CancellationToken>()) == Task.CompletedTask);
Circuits\ComponentHubTest.cs (7)
34mockClientProxy.Verify(m => m.SendCoreAsync("JS.Error", It.Is<object[]>(s => Regex.Match((string)s[0], errorMessage).Success), It.IsAny<CancellationToken>()), Times.Once()); 45mockClientProxy.Verify(m => m.SendCoreAsync("JS.Error", new[] { errorMessage }, It.IsAny<CancellationToken>()), Times.Once()); 56mockClientProxy.Verify(m => m.SendCoreAsync("JS.Error", new[] { errorMessage }, It.IsAny<CancellationToken>()), Times.Once()); 67mockClientProxy.Verify(m => m.SendCoreAsync("JS.Error", new[] { errorMessage }, It.IsAny<CancellationToken>()), Times.Once()); 78mockClientProxy.Verify(m => m.SendCoreAsync("JS.Error", new[] { errorMessage }, It.IsAny<CancellationToken>()), Times.Once()); 89mockClientProxy.Verify(m => m.SendCoreAsync("JS.Error", new[] { errorMessage }, It.IsAny<CancellationToken>()), Times.Once()); 100mockClientProxy.Verify(m => m.SendCoreAsync("JS.Error", new[] { errorMessage }, It.IsAny<CancellationToken>()), Times.Once());
Circuits\RemoteRendererTest.cs (6)
141initialClient.Setup(c => c.SendCoreAsync(It.IsAny<string>(), It.IsAny<object[]>(), It.IsAny<CancellationToken>())) 154client.Setup(c => c.SendCoreAsync(It.IsAny<string>(), It.IsAny<object[]>(), It.IsAny<CancellationToken>())) 212onlineClient.Setup(c => c.SendCoreAsync(It.IsAny<string>(), It.IsAny<object[]>(), It.IsAny<CancellationToken>())) 275onlineClient.Setup(c => c.SendCoreAsync(It.IsAny<string>(), It.IsAny<object[]>(), It.IsAny<CancellationToken>())) 329onlineClient.Setup(c => c.SendCoreAsync(It.IsAny<string>(), It.IsAny<object[]>(), It.IsAny<CancellationToken>())) 386onlineClient.Setup(c => c.SendCoreAsync(It.IsAny<string>(), It.IsAny<object[]>(), It.IsAny<CancellationToken>()))
Microsoft.AspNetCore.SignalR.Core (15)
ClientProxyExtensions.cs (11)
24return clientProxy.SendCoreAsync(method, Array.Empty<object>(), cancellationToken); 39return clientProxy.SendCoreAsync(method, new[] { arg1 }, cancellationToken); 55return clientProxy.SendCoreAsync(method, new[] { arg1, arg2 }, cancellationToken); 72return clientProxy.SendCoreAsync(method, new[] { arg1, arg2, arg3 }, cancellationToken); 90return clientProxy.SendCoreAsync(method, new[] { arg1, arg2, arg3, arg4 }, cancellationToken); 109return clientProxy.SendCoreAsync(method, new[] { arg1, arg2, arg3, arg4, arg5 }, cancellationToken); 129return clientProxy.SendCoreAsync(method, new[] { arg1, arg2, arg3, arg4, arg5, arg6 }, cancellationToken); 150return clientProxy.SendCoreAsync(method, new[] { arg1, arg2, arg3, arg4, arg5, arg6, arg7 }, cancellationToken); 172return clientProxy.SendCoreAsync(method, new[] { arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8 }, cancellationToken); 195return clientProxy.SendCoreAsync(method, new[] { arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9 }, cancellationToken); 219return clientProxy.SendCoreAsync(method, new[] { arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10 }, cancellationToken);
Internal\DynamicClientProxy.cs (1)
21result = _clientProxy.SendCoreAsync(binder.Name, args!);
Internal\HubCallerClients.cs (2)
115return _proxy.SendCoreAsync(method, args, cancellationToken); 146return _proxy.SendCoreAsync(method, args, cancellationToken);
Internal\NonInvokingSingleClientProxy.cs (1)
18_clientProxy.SendCoreAsync(method, args, cancellationToken);