Esempio n. 1
0
        public DataItemTask CreateDeepCopy()
        {
            var copied = new DataItemTask();

            copied.CopyFrom(this);
            return(copied);
        }
Esempio n. 2
0
 public void CopyFrom(DataItemTask task)
 {
     this.Id         = task.Id;
     this.StartTime  = task.StartTime;
     this.Title      = task.Title;
     this.IsComplete = task.IsComplete;
 }