1 write to CancellationToken
Microsoft.AspNetCore.Components (1)
Routing\NavigationContext.cs (1)
15CancellationToken = cancellationToken;
5 references to CancellationToken
Microsoft.AspNetCore.Components (2)
Routing\NavigationContext.cs (1)
24/// The <see cref="CancellationToken"/> to use to cancel navigation.
Routing\Router.cs (1)
366navigateContext.CancellationToken.Register(state =>
Microsoft.AspNetCore.Components.Tests (3)
Routing\RouterTest.cs (3)
69await Task.Delay(Timeout.Infinite, args.CancellationToken); 138args.CancellationToken.Register(() => cancelled = args.Path); 159await Task.Delay(Timeout.Infinite, args.CancellationToken);