예제 #1
0
        public GDEResidentMovementData ShallowClone()
        {
            string newKey = Guid.NewGuid().ToString();
            GDEResidentMovementData newClone = new GDEResidentMovementData(newKey);

            newClone.CurrentDayNightId = CurrentDayNightId;
            newClone.CurrentSeasonId   = CurrentSeasonId;

            return(newClone);
        }
예제 #2
0
        public GDEResidentMovementData DeepClone()
        {
            GDEResidentMovementData newClone = ShallowClone();

            return(newClone);
        }