コード例 #1
0
 public void FromWrapper(SPRequestInfoWrapper wrapper)
 {
     this.Id          = wrapper.Id;
     this.Ip          = wrapper.Ip;
     this.RequestInfo = wrapper.RequestInfo;
     this.RequestDate = wrapper.RequestDate;
     this.IsToPayment = wrapper.IsToPayment;
     this.RequestUrl  = wrapper.RequestUrl;
     this.DataID      = wrapper.DataID;
 }
コード例 #2
0
        public SPRequestInfoWrapper ToWrapper()
        {
            SPRequestInfoWrapper wrapper = new SPRequestInfoWrapper();

            wrapper.Id          = this.Id;
            wrapper.Ip          = this.Ip;
            wrapper.RequestInfo = this.RequestInfo;
            wrapper.RequestDate = this.RequestDate;
            wrapper.IsToPayment = this.IsToPayment;
            wrapper.RequestUrl  = this.RequestUrl;
            wrapper.DataID      = this.DataID;

            return(wrapper);
        }