Skip to content

Commit ebc2537

Browse files
committed
Fix missing xml.
1 parent e9bd57e commit ebc2537

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

src/Components/Components/src/NavigationManager.cs

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,15 @@ public event EventHandler<NotFoundEventArgs> OnNotFound
6262
private string? _uri;
6363
private bool _isInitialized;
6464
private const string EnableThrowNavigationException = "Microsoft.AspNetCore.Components.Endpoints.HttpNavigationManager.EnableThrowNavigationException";
65+
66+
/// <summary>
67+
/// Gets a value indicating whether navigation exceptions should be thrown during navigation.
68+
/// </summary>
69+
/// <remarks>
70+
/// This property is controlled by the AppContext switch
71+
/// <c>Microsoft.AspNetCore.Components.Endpoints.HttpNavigationManager.EnableThrowNavigationException</c>.
72+
/// When enabled, navigation operations may throw exceptions for debugging or testing purposes.
73+
/// </remarks>
6574
protected static bool ThrowNavigationException =>
6675
AppContext.TryGetSwitch(EnableThrowNavigationException, out var switchValue) && switchValue;
6776

0 commit comments

Comments
 (0)