25 instantiations of NavigationOptions
Aspire.Dashboard (18)
Components\Controls\DashboardNotAuthorized.razor.cs (1)
34
NavigationManager.NavigateTo(loginUrl, new
NavigationOptions
{ ReplaceHistoryEntry = true });
Components\IPageWithSessionAndUrlState.cs (1)
145
page.NavigationManager.NavigateTo(isLegacy ? ToLegacyUrl(newUrl) : newUrl, new
NavigationOptions
Components\Layout\ResourcesLayout.razor.cs (2)
1284
NavigationManager.NavigateTo(GetSelectionUrl(selection), new
NavigationOptions
{ ReplaceHistoryEntry = true });
1305
NavigationManager.NavigateTo(GetTabUrl(ResourceTab.Overview, resourceNames), new
NavigationOptions
{ ReplaceHistoryEntry = true });
Components\Legacy\Pages\Resources.razor.cs (1)
675
NavigationManager.NavigateTo(DashboardUrls.ResourcesUrl(), new
NavigationOptions
{ ReplaceHistoryEntry = true });
Components\Legacy\Pages\StructuredLogs.razor.cs (1)
248
NavigationManager.NavigateTo(DashboardUrls.StructuredLogsUrl(), new
NavigationOptions
{ ReplaceHistoryEntry = true });
Components\Legacy\Pages\Terminals.razor.cs (2)
209
NavigationManager.NavigateTo(url, new
NavigationOptions
{ ReplaceHistoryEntry = true });
284
NavigationManager.NavigateTo(DashboardUrls.ResourcesUrl(), new
NavigationOptions
{ ReplaceHistoryEntry = true });
Components\Legacy\Pages\TraceDetail.razor.cs (1)
244
NavigationManager.NavigateTo(DashboardUrls.TraceDetailUrl(TraceId), new
NavigationOptions
{ ReplaceHistoryEntry = true });
Components\Pages\GraphRedirect.razor.cs (1)
24
NavigationManager.NavigateTo(DashboardUrls.ResourceListUrl(), new
NavigationOptions
{ ReplaceHistoryEntry = true });
Components\Pages\Home.razor.cs (1)
53
NavigationManager.NavigateTo(url, new
NavigationOptions
{ ReplaceHistoryEntry = true });
Components\Pages\ParametersRedirect.razor.cs (1)
16
NavigationManager.NavigateTo(DashboardUrls.ResourceListUrl(), new
NavigationOptions
{ ReplaceHistoryEntry = true });
Components\Pages\Resources.razor.cs (2)
703
NavigationManager.NavigateTo(DashboardUrls.ParametersUrl(), new
NavigationOptions
{ ReplaceHistoryEntry = true });
746
NavigationManager.NavigateTo($"/{BasePath}", new
NavigationOptions
{ ReplaceHistoryEntry = true });
Components\Pages\StructuredLogs.razor.cs (1)
320
NavigationManager.NavigateTo(ResourcesLayout?.GetTabUrl(ResourceTab.StructuredLogs) ?? DashboardUrls.StructuredLogsUrl(), new
NavigationOptions
{ ReplaceHistoryEntry = true });
Components\Pages\Terminals.razor.cs (2)
233
NavigationManager.NavigateTo(url, new
NavigationOptions
{ ReplaceHistoryEntry = true });
311
NavigationManager.NavigateTo(DashboardUrls.ResourcesUrl(), new
NavigationOptions
{ ReplaceHistoryEntry = true });
Components\Pages\TraceDetail.razor.cs (1)
265
NavigationManager.NavigateTo(ResourcesLayout?.GetTraceDetailUrl(TraceId) ?? DashboardUrls.TraceDetailUrl(TraceId), new
NavigationOptions
{ ReplaceHistoryEntry = true });
Microsoft.AspNetCore.Components (2)
NavigationManager.cs (2)
140
NavigateToCore(uri, new
NavigationOptions
236
=> NavigateToCore(uri, new
NavigationOptions
{ ForceLoad = forceLoad });
Microsoft.AspNetCore.Components.Web (1)
Generated\361d1da7f942c932\WebRendererSerializerContext.NavigationOptions.g.cs (1)
31
ObjectCreator = () => new global::Microsoft.AspNetCore.Components.
NavigationOptions
(),
Microsoft.AspNetCore.Components.WebAssembly.Authentication (4)
NavigationManagerExtensions.cs (2)
37
manager.NavigateTo(logoutPath, new
NavigationOptions
59
manager.NavigateTo(loginPath, new
NavigationOptions
RemoteAuthenticatorViewCore.cs (2)
24
new
() { ReplaceHistoryEntry = true, ForceLoad = false };
413
Navigation.NavigateTo(Navigation.ToAbsoluteUri(ApplicationPaths.RemoteProfilePath).AbsoluteUri, new
NavigationOptions
{ ReplaceHistoryEntry = true, ForceLoad = true });
55 references to NavigationOptions
Aspire.Dashboard.Components.Tests (2)
Shared\TestNavigationManager.cs (2)
15
public
NavigationOptions
? LastNavigationOptions { get; private set; }
17
protected override void NavigateToCore(string uri,
NavigationOptions
options)
Microsoft.AspNetCore.Components (6)
NavigationManager.cs (6)
159
/// <param name="options">Provides additional <see cref="
NavigationOptions
"/>.</param>
160
public void NavigateTo([StringSyntax(StringSyntaxAttribute.Uri)] string uri,
NavigationOptions
options)
243
/// <param name="options">Provides additional <see cref="
NavigationOptions
"/>.</param>
244
protected virtual void NavigateToCore([StringSyntax(StringSyntaxAttribute.Uri)] string uri,
NavigationOptions
options) =>
245
throw 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)
31
protected override void NavigateToCore(string uri,
NavigationOptions
options)
Microsoft.AspNetCore.Components.Server (3)
Circuits\RemoteNavigationManager.cs (3)
102
[DynamicDependency(DynamicallyAccessedMemberTypes.PublicProperties, typeof(
NavigationOptions
))]
103
protected override void NavigateToCore(string uri,
NavigationOptions
options)
229
public static void RequestingNavigation(ILogger logger, string uri,
NavigationOptions
options)
Microsoft.AspNetCore.Components.Web (37)
Generated\361d1da7f942c932\WebRendererSerializerContext.GetJsonTypeInfo.g.cs (1)
34
if (type == typeof(global::Microsoft.AspNetCore.Components.
NavigationOptions
))
Generated\361d1da7f942c932\WebRendererSerializerContext.NavigationOptions.g.cs (35)
13
private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.AspNetCore.Components.
NavigationOptions
>? _NavigationOptions;
19
public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.AspNetCore.Components.
NavigationOptions
> NavigationOptions
22
get => _NavigationOptions ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.AspNetCore.Components.
NavigationOptions
>)Options.GetTypeInfo(typeof(global::Microsoft.AspNetCore.Components.
NavigationOptions
));
25
private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.AspNetCore.Components.
NavigationOptions
> Create_NavigationOptions(global::System.Text.Json.JsonSerializerOptions options)
27
if (!TryGetTypeInfoForRuntimeCustomConverter<global::Microsoft.AspNetCore.Components.
NavigationOptions
>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.AspNetCore.Components.
NavigationOptions
> jsonTypeInfo))
29
var objectInfo = new global::System.Text.Json.Serialization.Metadata.JsonObjectInfoValues<global::Microsoft.AspNetCore.Components.
NavigationOptions
>
35
ConstructorAttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Components.
NavigationOptions
).GetConstructor(InstanceMemberBindingFlags, binder: null, global::System.Array.Empty<global::System.Type>(), modifiers: null),
41
jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateObjectInfo<global::Microsoft.AspNetCore.Components.
NavigationOptions
>(options, objectInfo);
58
DeclaringType = typeof(global::Microsoft.AspNetCore.Components.
NavigationOptions
),
60
Getter = static obj => ((global::Microsoft.AspNetCore.Components.
NavigationOptions
)obj).ForceLoad,
61
Setter = static (obj, value) => __set_NavigationOptions_ForceLoad(ref global::System.Runtime.CompilerServices.Unsafe.Unbox<global::Microsoft.AspNetCore.Components.
NavigationOptions
>(obj), value!),
68
AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Components.
NavigationOptions
).GetProperty("ForceLoad", InstanceMemberBindingFlags, null, typeof(bool), global::System.Array.Empty<global::System.Type>(), null),
78
DeclaringType = typeof(global::Microsoft.AspNetCore.Components.
NavigationOptions
),
80
Getter = static obj => ((global::Microsoft.AspNetCore.Components.
NavigationOptions
)obj).ReplaceHistoryEntry,
81
Setter = static (obj, value) => __set_NavigationOptions_ReplaceHistoryEntry(ref global::System.Runtime.CompilerServices.Unsafe.Unbox<global::Microsoft.AspNetCore.Components.
NavigationOptions
>(obj), value!),
88
AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Components.
NavigationOptions
).GetProperty("ReplaceHistoryEntry", InstanceMemberBindingFlags, null, typeof(bool), global::System.Array.Empty<global::System.Type>(), null),
98
DeclaringType = typeof(global::Microsoft.AspNetCore.Components.
NavigationOptions
),
100
Getter = static obj => ((global::Microsoft.AspNetCore.Components.
NavigationOptions
)obj).HistoryEntryState,
101
Setter = static (obj, value) => __set_NavigationOptions_HistoryEntryState(ref global::System.Runtime.CompilerServices.Unsafe.Unbox<global::Microsoft.AspNetCore.Components.
NavigationOptions
>(obj), value!),
108
AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Components.
NavigationOptions
).GetProperty("HistoryEntryState", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null),
118
DeclaringType = typeof(global::Microsoft.AspNetCore.Components.
NavigationOptions
),
120
Getter = static obj => ((global::Microsoft.AspNetCore.Components.
NavigationOptions
)obj).RelativeToCurrentUri,
121
Setter = static (obj, value) => __set_NavigationOptions_RelativeToCurrentUri(ref global::System.Runtime.CompilerServices.Unsafe.Unbox<global::Microsoft.AspNetCore.Components.
NavigationOptions
>(obj), value!),
128
AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Components.
NavigationOptions
).GetProperty("RelativeToCurrentUri", InstanceMemberBindingFlags, null, typeof(bool), global::System.Array.Empty<global::System.Type>(), null),
138
private void NavigationOptionsSerializeHandler(global::System.Text.Json.Utf8JsonWriter writer, global::Microsoft.AspNetCore.Components.
NavigationOptions
value)
142
writer.WriteBoolean(PropName_ForceLoad, ((global::Microsoft.AspNetCore.Components.
NavigationOptions
)value).ForceLoad);
143
writer.WriteBoolean(PropName_ReplaceHistoryEntry, ((global::Microsoft.AspNetCore.Components.
NavigationOptions
)value).ReplaceHistoryEntry);
144
writer.WriteString(PropName_HistoryEntryState, ((global::Microsoft.AspNetCore.Components.
NavigationOptions
)value).HistoryEntryState);
145
writer.WriteBoolean(PropName_RelativeToCurrentUri, ((global::Microsoft.AspNetCore.Components.
NavigationOptions
)value).RelativeToCurrentUri);
151
private static extern void __set_NavigationOptions_ForceLoad(ref global::Microsoft.AspNetCore.Components.
NavigationOptions
obj, bool value);
153
private static extern void __set_NavigationOptions_ReplaceHistoryEntry(ref global::Microsoft.AspNetCore.Components.
NavigationOptions
obj, bool value);
155
private static extern void __set_NavigationOptions_HistoryEntryState(ref global::Microsoft.AspNetCore.Components.
NavigationOptions
obj, string value);
157
private 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
))]
53
protected override void NavigateToCore(string uri,
NavigationOptions
options)
Microsoft.AspNetCore.Components.WebAssembly.Authentication (1)
RemoteAuthenticatorViewCore.cs (1)
23
private static readonly
NavigationOptions
AuthenticationNavigationOptions =
Microsoft.AspNetCore.Components.WebView (3)
IpcSender.cs (2)
56
[DynamicDependency(DynamicallyAccessedMemberTypes.PublicProperties, typeof(
NavigationOptions
))]
57
public void Navigate(string uri,
NavigationOptions
options)
Services\WebViewNavigationManager.cs (1)
59
protected override void NavigateToCore(string uri,
NavigationOptions
options)