private void ProcessRequest(EchoInputModel inputModel) { inputModel.OutputChannel.Send(new EchoOutputModel { Text = inputModel.Text, UserAgent = inputModel.UserAgent, }); }
private void ProcessRequest(EchoInputModel inputModel) { _log.Debug(x => x.Write("Echo[{0}]: {1}", Thread.CurrentThread.ManagedThreadId, inputModel.Text)); inputModel.OutputChannel.Send(new EchoOutputModel { Text = inputModel.Text, UserAgent = inputModel.UserAgent, }); }