Quickly added ContentDialogHandler

This commit is contained in:
Dan Clark
2024-11-18 09:24:07 +00:00
parent 7a9028bbeb
commit 0cc13bfe23
2 changed files with 119 additions and 0 deletions
@@ -16,6 +16,7 @@ public static class IServiceCollectionExtensions
services.AddTransient<INavigationRegion, NavigationRegion>();
services.AddHandler<NavigateTemplateEventArgs, ContentControlHandler>(nameof(ContentControl));
services.AddHandler<NavigateTemplateEventArgs, ContentDialogHandler>(nameof(ContentDialog));
services.AddTransient((Func<IServiceProvider, IProxyServiceCollection<IComponentBuilder>>)(provider =>
new ProxyServiceCollection<IComponentBuilder>(services =>