Skip to content

Commit

Permalink
Merge pull request #3145 from jpislas/patch-1
Browse files Browse the repository at this point in the history
Update RegionNavigationRegistrationExtensions.cs
  • Loading branch information
dansiegel committed May 22, 2024
2 parents c333750 + eb47257 commit 17c6d31
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ public static class RegionNavigationRegistrationExtensions
where TViewModel : class =>
containerRegistry.RegisterForNavigationWithViewModel(typeof(TView), typeof(TViewModel), name);

private static IContainerRegistry RegisterForNavigationWithViewModel(this IContainerRegistry containerRegistry, Type viewType, Type viewModelType, string name)
public static IContainerRegistry RegisterForNavigationWithViewModel(this IContainerRegistry containerRegistry, Type viewType, Type viewModelType, string name)
{
if (string.IsNullOrWhiteSpace(name))
name = viewType.Name;
Expand Down

0 comments on commit 17c6d31

Please sign in to comment.