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();
364var context = new LocationChangingContext
396var locationChangingHandlersCopy = ArrayPool<Func<LocationChangingContext, ValueTask>>.Shared.Rent(handlerCount);
442ArrayPool<Func<LocationChangingContext, ValueTask>>.Shared.Return(locationChangingHandlersCopy);
471private async ValueTask InvokeLocationChangingHandlerAsync(Func<LocationChangingContext, ValueTask> handler, LocationChangingContext context)
492protected virtual void HandleLocationChangingHandlerException(Exception ex, LocationChangingContext context)
509public IDisposable RegisterLocationChangingHandler(Func<LocationChangingContext, ValueTask> locationChangingHandler)
525private void RemoveLocationChangingHandler(Func<LocationChangingContext, ValueTask> locationChangingHandler)
592private readonly Func<LocationChangingContext, ValueTask> _handler;
595public 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)