1 write to PreviousRetryCount
Microsoft.AspNetCore.SignalR.Client.Core (1)
16 references to PreviousRetryCount
Microsoft.AspNetCore.SignalR.Client.Core (1)
Microsoft.AspNetCore.SignalR.Client.Tests (15)
HubConnectionTests.Reconnect.cs (15)
161Assert.Equal(0, retryContexts[0].PreviousRetryCount);
171Assert.Equal(1, retryContexts[1].PreviousRetryCount);
221return context.PreviousRetryCount == 0 ? TimeSpan.Zero : (TimeSpan?)null;
258Assert.Equal(0, retryContexts[0].PreviousRetryCount);
269Assert.Equal(1, retryContexts[1].PreviousRetryCount);
316return context.PreviousRetryCount == 0 ? TimeSpan.Zero : (TimeSpan?)null;
435Assert.Equal(0, retryContexts[0].PreviousRetryCount);
453Assert.Equal(0, retryContexts[1].PreviousRetryCount);
541Assert.Equal(0, retryContexts[0].PreviousRetryCount);
802Assert.Equal(0, retryContexts[0].PreviousRetryCount);
812Assert.Equal(1, retryContexts[1].PreviousRetryCount);
909Assert.Equal(0, retryContexts[0].PreviousRetryCount);
931Assert.Equal(1, retryContexts[1].PreviousRetryCount);
1029Assert.Equal(0, retryContexts[0].PreviousRetryCount);
1106Assert.Equal(0, retryContexts[0].PreviousRetryCount);