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();
372var context = new LocationChangingContext
404var locationChangingHandlersCopy = ArrayPool<Func<LocationChangingContext, ValueTask>>.Shared.Rent(handlerCount);
450ArrayPool<Func<LocationChangingContext, ValueTask>>.Shared.Return(locationChangingHandlersCopy);
479private async ValueTask InvokeLocationChangingHandlerAsync(Func<LocationChangingContext, ValueTask> handler, LocationChangingContext context)
500protected virtual void HandleLocationChangingHandlerException(Exception ex, LocationChangingContext context)
517public IDisposable RegisterLocationChangingHandler(Func<LocationChangingContext, ValueTask> locationChangingHandler)
533private void RemoveLocationChangingHandler(Func<LocationChangingContext, ValueTask> locationChangingHandler)
600private readonly Func<LocationChangingContext, ValueTask> _handler;
603public 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)