ICommand.cs 394 B

123456789101112131415
  1. using LLM.Editor.Data;
  2. namespace LLM.Editor.Commands
  3. {
  4. public enum CommandOutcome { Success, Error }
  5. public interface ICommand
  6. {
  7. /// <summary>
  8. /// Executes the command.
  9. /// </summary>
  10. /// <param name="context">A context object to pass runtime data between commands.</param>
  11. public CommandOutcome Execute(CommandContext context);
  12. }
  13. }