This commit is contained in:
TheXamlGuy
2024-02-10 20:19:01 +00:00
parent ecfac99868
commit 565c6866d8
60 changed files with 445 additions and 381 deletions
+2 -2
View File
@@ -3,7 +3,7 @@
namespace Hyperbar.Widget;
public class WidgetExtensionHandler(IServiceProvider provider,
IMediator mediator,
IPublisher publisher,
IProxyServiceCollection<IWidgetBuilder> typedServices) :
INotificationHandler<Create<WidgetExtension>>
{
@@ -22,7 +22,7 @@ public class WidgetExtensionHandler(IServiceProvider provider,
});
IWidgetHost host = builder.Build();
await mediator.PublishAsync(new Create<IWidgetHost>(host),
await publisher.PublishAsync(new Create<IWidgetHost>(host),
cancellationToken);
}
}