16 lines
450 B
C#
16 lines
450 B
C#
using Hyperbar.Lifecycles;
|
|
using Microsoft.Extensions.DependencyInjection;
|
|
|
|
namespace Hyperbar.Windows.Contextual;
|
|
|
|
public class ContextualCommandWidgetBuilder :
|
|
ICommandWidgetBuilder
|
|
{
|
|
public void Create(IServiceCollection services)
|
|
{
|
|
services
|
|
.AddWritableConfiguration<ContextualCommandWidgetConfiguration>()
|
|
.AddCommandTemplate<ContextualCommandWidgetViewModel, ContextualCommandWidgetView>();
|
|
}
|
|
}
|