1 instantiation of SyncPoint
Microsoft.AspNetCore.SignalR.Tests (1)
src\Shared\SyncPoint\SyncPoint.cs (1)
57localSyncPoints[i] = new SyncPoint();
14 references to SyncPoint
Microsoft.AspNetCore.SignalR.Tests (14)
HubFilterTests.cs (6)
326var syncPoint1 = SyncPoint.Create(3, out var syncPoints1); 327var syncPoint2 = SyncPoint.Create(3, out var syncPoints2); 385var syncPoint1 = SyncPoint.Create(3, out var syncPoints1); 386var syncPoint2 = SyncPoint.Create(3, out var syncPoints2); 445var syncPoint1 = SyncPoint.Create(3, out var syncPoints1); 446var syncPoint2 = SyncPoint.Create(3, out var syncPoints2);
SerializedHubMessageTests.cs (1)
65var onWrite = SyncPoint.Create(2, out var syncPoints);
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];
TestFilters.cs (2)
45private readonly SyncPoint[] _syncPoint; 46public SyncPointFilter(SyncPoint[] syncPoints)