1 instantiation of LocationChangingContext
Microsoft.AspNetCore.Components (1)
17 references to LocationChangingContext
Microsoft.AspNetCore.Components (11)
NavigationManager.cs (11)
34private readonly List<Func<LocationChangingContext, ValueTask>> _locationChangingHandlers = new();
431var context = new LocationChangingContext
463var locationChangingHandlersCopy = ArrayPool<Func<LocationChangingContext, ValueTask>>.Shared.Rent(handlerCount);
509ArrayPool<Func<LocationChangingContext, ValueTask>>.Shared.Return(locationChangingHandlersCopy);
548private async ValueTask InvokeLocationChangingHandlerAsync(Func<LocationChangingContext, ValueTask> handler, LocationChangingContext context)
569protected virtual void HandleLocationChangingHandlerException(Exception ex, LocationChangingContext context)
586public IDisposable RegisterLocationChangingHandler(Func<LocationChangingContext, ValueTask> locationChangingHandler)
602private void RemoveLocationChangingHandler(Func<LocationChangingContext, ValueTask> locationChangingHandler)
669private readonly Func<LocationChangingContext, ValueTask> _handler;
672public LocationChangingRegistration(Func<LocationChangingContext, ValueTask> handler, NavigationManager navigationManager)
Microsoft.AspNetCore.Components.Server (1)
Microsoft.AspNetCore.Components.Web (3)
Microsoft.AspNetCore.Components.WebAssembly (1)
Microsoft.AspNetCore.Components.WebView (1)