inject the widget assembly into the IoC as we are going to need it further in
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
namespace Hyperbar.Widget;
|
||||
|
||||
public class WidgetExtensionInitializer(IMediator mediator) :
|
||||
IInitializer
|
||||
{
|
||||
public async Task InitializeAsync() =>
|
||||
await mediator.PublishAsync<Enumerate<WidgetExtension>>();
|
||||
}
|
||||
Reference in New Issue
Block a user