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