1 instantiation of LocationChangingContext
Microsoft.AspNetCore.Components (1)
45 references to LocationChangingContext
Microsoft.AspNetCore.Components (11)
NavigationManager.cs (11)
34private readonly List<Func<LocationChangingContext, ValueTask>> _locationChangingHandlers = new();
335var context = new LocationChangingContext
367var locationChangingHandlersCopy = ArrayPool<Func<LocationChangingContext, ValueTask>>.Shared.Rent(handlerCount);
413ArrayPool<Func<LocationChangingContext, ValueTask>>.Shared.Return(locationChangingHandlersCopy);
442private async ValueTask InvokeLocationChangingHandlerAsync(Func<LocationChangingContext, ValueTask> handler, LocationChangingContext context)
463protected virtual void HandleLocationChangingHandlerException(Exception ex, LocationChangingContext context)
480public IDisposable RegisterLocationChangingHandler(Func<LocationChangingContext, ValueTask> locationChangingHandler)
496private void RemoveLocationChangingHandler(Func<LocationChangingContext, ValueTask> locationChangingHandler)
563private readonly Func<LocationChangingContext, ValueTask> _handler;
566public LocationChangingRegistration(Func<LocationChangingContext, ValueTask> handler, NavigationManager navigationManager)
Microsoft.AspNetCore.Components.Server (1)
Microsoft.AspNetCore.Components.Tests (28)
Microsoft.AspNetCore.Components.Web (3)
Microsoft.AspNetCore.Components.WebAssembly (1)
Microsoft.AspNetCore.Components.WebView (1)