public GDESectionData ShallowClone() { string newKey = Guid.NewGuid().ToString(); GDESectionData newClone = new GDESectionData(newKey); newClone.isLocked = isLocked; newClone.receiveReward = receiveReward; newClone.remark = remark; newClone.finishCount = finishCount; newClone.Index = Index; return(newClone); }
public GDESectionData DeepClone() { GDESectionData newClone = ShallowClone(); return(newClone); }