Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/Wpf.Ui/NavigationService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -128,15 +128,15 @@ public bool NavigateWithHierarchy(Type pageType, object? dataContext)
return NavigationControl!.NavigateWithHierarchy(pageType, dataContext);
}

private void ThrowIfNavigationControlIsNull()
protected void ThrowIfNavigationControlIsNull()
{
if (NavigationControl is null)
{
throw new ArgumentNullException(nameof(NavigationControl));
}
}

private void ThrowIfPageServiceIsNull()
protected void ThrowIfPageServiceIsNull()
{
if (_pageService is null)
{
Expand Down