17 lines
402 B
C#
17 lines
402 B
C#
using Hyperbar.Widgets;
|
|
|
|
namespace Hyperbar.Widget.Contextual;
|
|
|
|
public class ContextualWidget :
|
|
IWidget
|
|
{
|
|
public IWidgetBuilder Create() =>
|
|
WidgetBuilder<ContextualWidgetConfiguration>.Configure(args =>
|
|
{
|
|
args.Name = "Contextual commands";
|
|
|
|
}).ConfigureServices(args =>
|
|
{
|
|
args.AddWidgetTemplate<ContextualWidgetViewModel>();
|
|
});
|
|
} |