11 instantiations of NavigationOptions
Aspire.Dashboard (4)
Components\Pages\IPageWithSessionAndUrlState.cs (1)
116page.NavigationManager.NavigateTo(newUrl, new NavigationOptions { ReplaceHistoryEntry = true });
Components\Pages\Resources.razor.cs (1)
611NavigationManager.NavigateTo(DashboardUrls.ResourcesUrl(), new NavigationOptions { ReplaceHistoryEntry = true });
Components\Pages\StructuredLogs.razor.cs (1)
270NavigationManager.NavigateTo(DashboardUrls.StructuredLogsUrl(), new NavigationOptions { ReplaceHistoryEntry = true });
Components\Pages\TraceDetail.razor.cs (1)
246NavigationManager.NavigateTo(DashboardUrls.TraceDetailUrl(TraceId), new NavigationOptions { ReplaceHistoryEntry = true });
Microsoft.AspNetCore.Components (2)
NavigationManager.cs (2)
140NavigateToCore(uri, new NavigationOptions 236=> NavigateToCore(uri, new NavigationOptions { ForceLoad = forceLoad });
Microsoft.AspNetCore.Components.Web (1)
_generated\3\WebRendererSerializerContext.NavigationOptions.g.cs (1)
31ObjectCreator = () => new global::Microsoft.AspNetCore.Components.NavigationOptions(),
Microsoft.AspNetCore.Components.WebAssembly.Authentication (4)
NavigationManagerExtensions.cs (2)
37manager.NavigateTo(logoutPath, new NavigationOptions 59manager.NavigateTo(loginPath, new NavigationOptions
RemoteAuthenticatorViewCore.cs (2)
24new() { ReplaceHistoryEntry = true, ForceLoad = false }; 413Navigation.NavigateTo(Navigation.ToAbsoluteUri(ApplicationPaths.RemoteProfilePath).AbsoluteUri, new NavigationOptions { ReplaceHistoryEntry = true, ForceLoad = true });
53 references to NavigationOptions
Microsoft.AspNetCore.Components (6)
NavigationManager.cs (6)
159/// <param name="options">Provides additional <see cref="NavigationOptions"/>.</param> 160public void NavigateTo([StringSyntax(StringSyntaxAttribute.Uri)] string uri, NavigationOptions options) 243/// <param name="options">Provides additional <see cref="NavigationOptions"/>.</param> 244protected virtual void NavigateToCore([StringSyntax(StringSyntaxAttribute.Uri)] string uri, NavigationOptions options) => 245throw new NotImplementedException($"The type {GetType().FullName} does not support supplying {nameof(NavigationOptions)}. To add support, that type should override {nameof(NavigateToCore)}(string uri, {nameof(NavigationOptions)} options).");
Microsoft.AspNetCore.Components.Endpoints (1)
DependencyInjection\HttpNavigationManager.cs (1)
29protected override void NavigateToCore(string uri, NavigationOptions options)
Microsoft.AspNetCore.Components.Server (3)
Circuits\RemoteNavigationManager.cs (3)
102[DynamicDependency(DynamicallyAccessedMemberTypes.PublicProperties, typeof(NavigationOptions))] 103protected override void NavigateToCore(string uri, NavigationOptions options) 222public static void RequestingNavigation(ILogger logger, string uri, NavigationOptions options)
Microsoft.AspNetCore.Components.Web (37)
_generated\16\WebRendererSerializerContext.GetJsonTypeInfo.g.cs (1)
34if (type == typeof(global::Microsoft.AspNetCore.Components.NavigationOptions))
_generated\3\WebRendererSerializerContext.NavigationOptions.g.cs (35)
13private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.AspNetCore.Components.NavigationOptions>? _NavigationOptions; 19public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.AspNetCore.Components.NavigationOptions> NavigationOptions 22get => _NavigationOptions ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.AspNetCore.Components.NavigationOptions>)Options.GetTypeInfo(typeof(global::Microsoft.AspNetCore.Components.NavigationOptions)); 25private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.AspNetCore.Components.NavigationOptions> Create_NavigationOptions(global::System.Text.Json.JsonSerializerOptions options) 27if (!TryGetTypeInfoForRuntimeCustomConverter<global::Microsoft.AspNetCore.Components.NavigationOptions>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.AspNetCore.Components.NavigationOptions> jsonTypeInfo)) 29var objectInfo = new global::System.Text.Json.Serialization.Metadata.JsonObjectInfoValues<global::Microsoft.AspNetCore.Components.NavigationOptions> 35ConstructorAttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Components.NavigationOptions).GetConstructor(InstanceMemberBindingFlags, binder: null, global::System.Array.Empty<global::System.Type>(), modifiers: null), 41jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateObjectInfo<global::Microsoft.AspNetCore.Components.NavigationOptions>(options, objectInfo); 58DeclaringType = typeof(global::Microsoft.AspNetCore.Components.NavigationOptions), 60Getter = static obj => ((global::Microsoft.AspNetCore.Components.NavigationOptions)obj).ForceLoad, 61Setter = static (obj, value) => __set_NavigationOptions_ForceLoad(ref global::System.Runtime.CompilerServices.Unsafe.Unbox<global::Microsoft.AspNetCore.Components.NavigationOptions>(obj), value!), 68AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Components.NavigationOptions).GetProperty("ForceLoad", InstanceMemberBindingFlags, null, typeof(bool), global::System.Array.Empty<global::System.Type>(), null), 78DeclaringType = typeof(global::Microsoft.AspNetCore.Components.NavigationOptions), 80Getter = static obj => ((global::Microsoft.AspNetCore.Components.NavigationOptions)obj).ReplaceHistoryEntry, 81Setter = static (obj, value) => __set_NavigationOptions_ReplaceHistoryEntry(ref global::System.Runtime.CompilerServices.Unsafe.Unbox<global::Microsoft.AspNetCore.Components.NavigationOptions>(obj), value!), 88AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Components.NavigationOptions).GetProperty("ReplaceHistoryEntry", InstanceMemberBindingFlags, null, typeof(bool), global::System.Array.Empty<global::System.Type>(), null), 98DeclaringType = typeof(global::Microsoft.AspNetCore.Components.NavigationOptions), 100Getter = static obj => ((global::Microsoft.AspNetCore.Components.NavigationOptions)obj).HistoryEntryState, 101Setter = static (obj, value) => __set_NavigationOptions_HistoryEntryState(ref global::System.Runtime.CompilerServices.Unsafe.Unbox<global::Microsoft.AspNetCore.Components.NavigationOptions>(obj), value!), 108AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Components.NavigationOptions).GetProperty("HistoryEntryState", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null), 118DeclaringType = typeof(global::Microsoft.AspNetCore.Components.NavigationOptions), 120Getter = static obj => ((global::Microsoft.AspNetCore.Components.NavigationOptions)obj).RelativeToCurrentUri, 121Setter = static (obj, value) => __set_NavigationOptions_RelativeToCurrentUri(ref global::System.Runtime.CompilerServices.Unsafe.Unbox<global::Microsoft.AspNetCore.Components.NavigationOptions>(obj), value!), 128AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Components.NavigationOptions).GetProperty("RelativeToCurrentUri", InstanceMemberBindingFlags, null, typeof(bool), global::System.Array.Empty<global::System.Type>(), null), 138private void NavigationOptionsSerializeHandler(global::System.Text.Json.Utf8JsonWriter writer, global::Microsoft.AspNetCore.Components.NavigationOptions value) 142writer.WriteBoolean(PropName_ForceLoad, ((global::Microsoft.AspNetCore.Components.NavigationOptions)value).ForceLoad); 143writer.WriteBoolean(PropName_ReplaceHistoryEntry, ((global::Microsoft.AspNetCore.Components.NavigationOptions)value).ReplaceHistoryEntry); 144writer.WriteString(PropName_HistoryEntryState, ((global::Microsoft.AspNetCore.Components.NavigationOptions)value).HistoryEntryState); 145writer.WriteBoolean(PropName_RelativeToCurrentUri, ((global::Microsoft.AspNetCore.Components.NavigationOptions)value).RelativeToCurrentUri); 151private static extern void __set_NavigationOptions_ForceLoad(ref global::Microsoft.AspNetCore.Components.NavigationOptions obj, bool value); 153private static extern void __set_NavigationOptions_ReplaceHistoryEntry(ref global::Microsoft.AspNetCore.Components.NavigationOptions obj, bool value); 155private static extern void __set_NavigationOptions_HistoryEntryState(ref global::Microsoft.AspNetCore.Components.NavigationOptions obj, string value); 157private static extern void __set_NavigationOptions_RelativeToCurrentUri(ref global::Microsoft.AspNetCore.Components.NavigationOptions obj, bool value);
WebRenderer.cs (1)
198[JsonSerializable(typeof(NavigationOptions))]
Microsoft.AspNetCore.Components.WebAssembly (2)
Services\WebAssemblyNavigationManager.cs (2)
52[DynamicDependency(DynamicallyAccessedMemberTypes.PublicProperties, typeof(NavigationOptions))] 53protected override void NavigateToCore(string uri, NavigationOptions options)
Microsoft.AspNetCore.Components.WebAssembly.Authentication (1)
RemoteAuthenticatorViewCore.cs (1)
23private static readonly NavigationOptions AuthenticationNavigationOptions =
Microsoft.AspNetCore.Components.WebView (3)
IpcSender.cs (2)
36[DynamicDependency(DynamicallyAccessedMemberTypes.PublicProperties, typeof(NavigationOptions))] 37public void Navigate(string uri, NavigationOptions options)
Services\WebViewNavigationManager.cs (1)
59protected override void NavigateToCore(string uri, NavigationOptions options)