13 references to InvokeCoreAsync
Microsoft.AspNetCore.SignalR.Client.Core (2)
HubConnectionExtensions.InvokeAsync.cs (1)
227
return hubConnection.
InvokeCoreAsync
(methodName, typeof(object), args, cancellationToken);
HubConnectionExtensions.InvokeAsyncGeneric.cs (1)
275
return (TResult)(await hubConnection.
InvokeCoreAsync
(methodName, typeof(TResult), args, cancellationToken).ConfigureAwait(false))!;
Microsoft.AspNetCore.SignalR.Client.Tests (11)
HubConnectionTests.cs (3)
854
mockConnection.Setup(c => c.
InvokeCoreAsync
(It.IsAny<string>(), It.IsAny<Type>(), It.IsAny<object[]>(), It.IsAny<CancellationToken>())).Returns(() => Task.FromResult(It.IsAny<object>()));
866
_ = await hubConnection.
InvokeCoreAsync
("test", typeof(int), Array.Empty<object>(), default);
875
mockConnection.Verify(c => c.
InvokeCoreAsync
("test", typeof(int), Array.Empty<object>(), It.IsAny<CancellationToken>()), Times.Once);
HubServerProxyGeneratorTests.cs (8)
57
.Setup(x => x.
InvokeCoreAsync
(
79
.Setup(x => x.
InvokeCoreAsync
(
102
.Setup(x => x.
InvokeCoreAsync
(
128
.Setup(x => x.
InvokeCoreAsync
(
152
.Setup(x => x.
InvokeCoreAsync
(
234
.Setup(x => x.
InvokeCoreAsync
(
312
.Setup(x => x.
InvokeCoreAsync
(
319
.Setup(x => x.
InvokeCoreAsync
(