4 instantiations of SyncPoint
Microsoft.AspNetCore.SignalR.Client.Tests (4)
HttpConnectionTests.ConnectionLifecycle.cs (1)
388var negotiateSyncPoint = new SyncPoint();
HubConnectionTests.Tracing.cs (1)
182var syncPoint = new SyncPoint();
ServerSentEventsTransportTests.cs (1)
300var sendSyncPoint = new SyncPoint();
src\Shared\SyncPoint\SyncPoint.cs (1)
57localSyncPoints[i] = new SyncPoint();
27 references to SyncPoint
Microsoft.AspNetCore.SignalR.Client.Tests (27)
HttpConnectionTests.ConnectionLifecycle.cs (9)
43CreateConnection(loggerFactory: LoggerFactory, transport: new TestTransport(onTransportStart: SyncPoint.Create(out var syncPoint))), 196onTransportStart: SyncPoint.Create(out var transportStart), 197onTransportStop: SyncPoint.Create(out var transportStop))), 229transport: new TestTransport(onTransportStop: SyncPoint.Create(out var transportStop))), 388var negotiateSyncPoint = new SyncPoint();
HubConnectionTests.ConnectionLifecycle.cs (10)
55var testConnection = new TestConnection(onStart: SyncPoint.Create(out var syncPoint)); 113var onDisposeForFirstConnection = SyncPoint.Create(out var syncPoint); 211var testConnection = new TestConnection(onStart: SyncPoint.Create(out var syncPoint)); 243var testConnection = new TestConnection(onStart: SyncPoint.Create(out var syncPoint)); 462var testConnection = new TestConnection(onDispose: SyncPoint.Create(out var syncPoint));
HubConnectionTests.Tracing.cs (1)
182var syncPoint = new SyncPoint();
ServerSentEventsTransportTests.cs (2)
300var sendSyncPoint = new SyncPoint(); 329cancellationToken.Register(s => ((SyncPoint)s).Continue(), sendSyncPoint);
src\Shared\SyncPoint\SyncPoint.cs (5)
38public 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> 51public static Func<Task> Create(int count, out SyncPoint[] syncPoints) 54var localSyncPoints = new SyncPoint[count]; 71var syncPoint = localSyncPoints[counter];