Added messaging pipeline
This commit is contained in:
@@ -1,14 +1,19 @@
|
||||
using Hyperbar.Lifecycles;
|
||||
using Hyperbar.Templates;
|
||||
|
||||
namespace Hyperbar.Windows.Primary;
|
||||
namespace Hyperbar.Windows.Primary;
|
||||
|
||||
public class PrimaryWidgetViewModel :
|
||||
WidgetViewModelBase
|
||||
{
|
||||
public PrimaryWidgetViewModel(ITemplateFactory templateFactory) : base(templateFactory)
|
||||
public PrimaryWidgetViewModel(ITemplateFactory templateFactory,
|
||||
IServiceFactory serviceFactory) : base(templateFactory, serviceFactory)
|
||||
{
|
||||
;
|
||||
|
||||
Add<WidgetButtonViewModel>("test 1", new Action(() => {
|
||||
|
||||
}));
|
||||
Add<WidgetButtonViewModel>("test 2", new Action(() => { }));
|
||||
Add<WidgetButtonViewModel>("test 4", new Action(() => { }));
|
||||
Add<WidgetButtonViewModel>("test 5", new Action(() => { }));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user