public async Task RunExample(string args) { RunExampleResult result = await _worker.CallCommandAsync <RunExampleCommand, RunExampleResult>(new RunExampleCommand { Key = _exampleDescriptor.Key, Args = args, TerminalId = Id, ProgramClass = _exampleDescriptor.ProgramClass, WebProgramClass = _exampleDescriptor.WebProgramClass }); }