示例#1
0
 public TransferContext(TransferCollection collection)
 {
     Request  = new TransferRequest(collection);
     Response = new TransferResponse(collection);
     Context  = this;
 }
示例#2
0
 public TransferRequest(TransferCollection collection)
 {
     _collection = collection;
 }
示例#3
0
 public TransferResponse(TransferCollection collection)
 {
     _collection = collection;
 }
示例#4
0
 /// <summary>
 /// 内容会以二进制转为字符串的形式传值,
 /// 通过profocal协议传输具体字段
 /// content包含当前对象的所有值
 /// 此方法内不做任何字段处理,只保存在dictionary中
 /// </summary>
 /// <param name="content"></param>
 public TransferApplication(String content)
 {
     _TransferCollection = JsonConvert.DeserializeObject <TransferCollection>(content);
 }