1 write to CancellationToken
Microsoft.AspNetCore.Components (1)
NavigationManager.cs (1)
340CancellationToken = cancellationToken,
10 references to CancellationToken
Microsoft.AspNetCore.Components.Tests (10)
NavigationManagerTest.cs (10)
408Assert.True(currentContext.CancellationToken.IsCancellationRequested); 447Assert.True(currentContext.CancellationToken.IsCancellationRequested); 529await Task.Delay(System.Threading.Timeout.Infinite, context.CancellationToken); 533if (ex.CancellationToken == context.CancellationToken) 587await Task.Delay(System.Threading.Timeout.Infinite, context.CancellationToken); 591if (ex.CancellationToken == context.CancellationToken) 654await Task.Delay(System.Threading.Timeout.Infinite, context.CancellationToken); 659if (ex.CancellationToken == context.CancellationToken) 846Assert.False(currentContext.CancellationToken.IsCancellationRequested); 854Assert.True(currentContext.CancellationToken.IsCancellationRequested);