Closed yuto-trd closed 1 week ago
public class CommandDefinition
{
public string Id { get; init; }
public string DisplayName { get; init; }
public string Description { get; init; }
public KeyBinding KeyBinding { get; set; }
}
public class ViewExtension
{
public virtual IEnumerable<CommandDefinition> Commands { get; }
}
// IEditorContextのGetServiceで返す
public interface ICommandExecutor
{
public async ValueTask<bool> Execute(CommandDefinition command);
}