RequestInfo.cs 751 B

1234567891011121314151617181920212223242526272829
  1. /*-------------------------------------------------------------------------
  2. * 功能描述:RequestInfo
  3. * 作者:xulisong
  4. * 创建时间: 2018/12/19 14:54:53
  5. * 版本号:v1.0
  6. * -------------------------------------------------------------------------*/
  7. using System;
  8. using System.Collections.Generic;
  9. using System.Linq;
  10. using System.Text;
  11. using System.Threading.Tasks;
  12. namespace Com.FirmLib
  13. {
  14. public class RequestInfo
  15. {
  16. public RequestInfo(string head)
  17. {
  18. this.Head = head;
  19. }
  20. public RequestInfo(string head,object content):this(head)
  21. {
  22. this.Content = content;
  23. }
  24. public string Head { get; set; }
  25. public object Content { get; set; }
  26. }
  27. }