22 references to On
Aspire.Hosting.Azure.Tests (1)
AzureSignalREmulatorFunctionalTest.cs (1)
115
connection.
On
<string>("broadcast", message =>
ClientSample (1)
HubSample.cs (1)
69
connection.
On
<string>("Send", Console.WriteLine);
Microsoft.AspNetCore.SignalR.Client.FunctionalTests (2)
HubConnectionTests.cs (1)
696
connection.
On
<string>("Echo", tcs.SetResult);
HubConnectionTests.Tracing.cs (1)
699
connection.
On
<string>("Echo", echoTcs.SetResult);
Microsoft.AspNetCore.SignalR.Client.Tests (9)
HubConnectionTests.Extensions.cs (3)
42
(hubConnection, tcs) => hubConnection.
On
<int>("Foo",
250
hubConnection.
On
<int>("Foo", r => { receiveTcs.SetResult(r); });
330
hubConnection.
On
<int>("Foo", r => { receiveTcs.SetResult(r); });
HubConnectionTests.Protocol.cs (4)
446
hubConnection.
On
<int>("Foo", (val) =>
478
var subscription = hubConnection.
On
<int>("Foo", (val) =>
568
hubConnection.
On
<string>("Echo", data =>
595
hubConnection.
On
<string>("Echo", data =>
TestServerTests.cs (2)
58
connection.
On
<string>("Echo", (receivedMessage) =>
103
connection.
On
<string>("Echo", (receivedMessage) =>
Microsoft.AspNetCore.SignalR.StackExchangeRedis.Tests (9)
RedisEndToEnd.cs (9)
70
connection.
On
<string>("Echo", message => tcs.TrySetResult(message));
72
secondConnection.
On
<string>("Echo", message => tcs2.TrySetResult(message));
103
connection.
On
<string>("Echo", message => tcs.TrySetResult(message));
105
secondConnection.
On
<string>("Echo", message => tcs2.TrySetResult(message));
135
firstConnection.
On
<string>("Echo", message => tcs.TrySetResult(message));
161
connection.
On
<string>("Echo", message => tcs.TrySetResult(message));
163
secondConnection.
On
<string>("Echo", message => tcs2.TrySetResult(message));
197
connection.
On
<string>("Echo", message => tcs.TrySetResult(message));
199
secondConnection.
On
<string>("Echo", message => tcs2.TrySetResult(message));