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)
297navigateContext.CancellationToken.Register(state =>
Microsoft.AspNetCore.Components.Tests (3)
Routing\RouterTest.cs (3)
66await Task.Delay(Timeout.Infinite, args.CancellationToken); 135args.CancellationToken.Register(() => cancelled = args.Path); 156await Task.Delay(Timeout.Infinite, args.CancellationToken);