public static async Task RunAsync(this ICommandsHost host, CancellationToken token = default) { using (host) { await host.StartAsync(token).ConfigureAwait(false); await host.WaitForShutdownAsync(token).ConfigureAwait(false); } }
public BaseCommand(ICommandsHost host) { DebugClient = host.DebugServices.DebugClient; DataTarget = host.DebugServices.DataTarget; Output = host.DebugServices.Output; Host = host; Runtime = host.Runtime; Heap = Runtime.Heap; Commands = host.Commands; ExternalCommandNames = host.ExternalCommandNames; }
public static void Run(this ICommandsHost host) { host.RunAsync().GetAwaiter().GetResult(); }
public OpenFileCommand(ICommandsHost debugger) : base(debugger) { }
public CommandsFactory(ICommandsHost commandsHost) { _commandsHost = commandsHost; }
public HelpCommand(ICommandsHost debugger) : base(debugger) { }
public DumpDepPropertyCommand(ICommandsHost debugger) : base(debugger) { }