Added primaey commands extenion/plugin

This commit is contained in:
TheXamlGuy
2024-01-04 23:02:51 +00:00
parent 97270eeed4
commit d94add17f9
14 changed files with 120 additions and 47 deletions
@@ -1,13 +1,8 @@
namespace Hyperbar.Desktop.Contextual;
public class ContextualCommandViewModel :
public class ContextualCommandViewModel(ITemplateFactory templateFactory) :
ICommandViewModel,
ITemplatedViewModel
{
public ContextualCommandViewModel(ITemplateFactory templateFactory)
{
TemplateFactory = templateFactory;
}
public ITemplateFactory TemplateFactory { get; }
public ITemplateFactory TemplateFactory { get; } = templateFactory;
}