restructure project for part 2
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
namespace Hyperbar.Widget.Contextual.Windows;
|
||||
|
||||
public class ContextualWidget :
|
||||
IWidget
|
||||
{
|
||||
public IWidgetBuilder Create() =>
|
||||
WidgetBuilder<ContextualWidgetConfiguration>.Configure(args =>
|
||||
{
|
||||
args.Name = "Contextual commands";
|
||||
|
||||
}).ConfigureServices(args =>
|
||||
{
|
||||
args.AddWidgetTemplate<ContextualWidgetViewModel>();
|
||||
});
|
||||
}
|
||||
Reference in New Issue
Block a user