4 instantiations of SyncPoint
Microsoft.AspNetCore.SignalR.Client.Tests (4)
HttpConnectionTests.ConnectionLifecycle.cs (1)
388
var negotiateSyncPoint = new
SyncPoint
();
HubConnectionTests.Tracing.cs (1)
182
var syncPoint = new
SyncPoint
();
ServerSentEventsTransportTests.cs (1)
300
var sendSyncPoint = new
SyncPoint
();
src\Shared\SyncPoint\SyncPoint.cs (1)
57
localSyncPoints[i] = new
SyncPoint
();
27 references to SyncPoint
Microsoft.AspNetCore.SignalR.Client.Tests (27)
HttpConnectionTests.ConnectionLifecycle.cs (9)
43
CreateConnection(loggerFactory: LoggerFactory, transport: new TestTransport(onTransportStart:
SyncPoint
.Create(out
var
syncPoint))),
196
onTransportStart:
SyncPoint
.Create(out
var
transportStart),
197
onTransportStop:
SyncPoint
.Create(out
var
transportStop))),
229
transport: new TestTransport(onTransportStop:
SyncPoint
.Create(out
var
transportStop))),
388
var
negotiateSyncPoint = new SyncPoint();
HubConnectionTests.ConnectionLifecycle.cs (10)
55
var testConnection = new TestConnection(onStart:
SyncPoint
.Create(out
var
syncPoint));
113
var onDisposeForFirstConnection =
SyncPoint
.Create(out
var
syncPoint);
211
var testConnection = new TestConnection(onStart:
SyncPoint
.Create(out
var
syncPoint));
243
var testConnection = new TestConnection(onStart:
SyncPoint
.Create(out
var
syncPoint));
462
var testConnection = new TestConnection(onDispose:
SyncPoint
.Create(out
var
syncPoint));
HubConnectionTests.Tracing.cs (1)
182
var
syncPoint = new SyncPoint();
ServerSentEventsTransportTests.cs (2)
300
var
sendSyncPoint = new SyncPoint();
329
cancellationToken.Register(s => ((
SyncPoint
)s).Continue(), sendSyncPoint);
src\Shared\SyncPoint\SyncPoint.cs (5)
38
public static Func<Task> Create(out
SyncPoint
syncPoint)
49
/// <param name="syncPoints">The <see cref="
SyncPoint
"/> objects that can be used to coordinate the sync point</param>
51
public static Func<Task> Create(int count, out
SyncPoint
[] syncPoints)
54
var localSyncPoints = new
SyncPoint
[count];
71
var
syncPoint = localSyncPoints[counter];