Esempio n. 1
0
        public void DeepCopyFrom(ProfileUpdateReqData src)
        {
            System.Diagnostics.Debug.Assert(this != null);
            System.Diagnostics.Debug.Assert(src != null);

            this.reqEventID = src.reqEventID;
            this.totalCnt   = src.totalCnt;
            this.mode       = src.mode;
            this.lstSASProfile.Clear();
            foreach (SASProfile profile in src.lstSASProfile)
            {
                SASProfile copyProfile = new SASProfile();
                copyProfile.DeepCopyFrom(profile);
                this.lstSASProfile.Add(copyProfile);
            }
        }
Esempio n. 2
0
 public SASProfileUpdateEventArgs(ProfileUpdateReqData data)
 {
     this.updateData = new ProfileUpdateReqData(data.ReqEventID, data.TotalCnt, data.Mode);
     this.updateData.DeepCopyFrom(data);
 }