示例#1
0
文件: EchoActor.cs 项目: Nangal/Stact
		private void ProcessRequest(EchoInputModel inputModel)
		{
			inputModel.OutputChannel.Send(new EchoOutputModel
				{
					Text = inputModel.Text,
					UserAgent = inputModel.UserAgent,
				});
		}
示例#2
0
 private void ProcessRequest(EchoInputModel inputModel)
 {
     inputModel.OutputChannel.Send(new EchoOutputModel
     {
         Text      = inputModel.Text,
         UserAgent = inputModel.UserAgent,
     });
 }
示例#3
0
        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,
                });
        }