DefualtEngineContext.cs 529 B

1234567891011121314151617181920212223
  1. using Quadarax.Foundation.Core.Object;
  2. namespace Quadarax.Foundation.Core.QConsole.Context
  3. {
  4. public class DefualtEngineContext : DisposableObject, IEngineContext
  5. {
  6. protected override void OnDisposing()
  7. {
  8. }
  9. public ICommandContext CreateCommandContext()
  10. {
  11. return new DefaultCommandContext();
  12. }
  13. public string Status => "READY";
  14. public override string ToString()
  15. {
  16. return "Default empty engine context";
  17. }
  18. }
  19. }