Пример #1
0
        public void CopyFrom(attendance_monthly_reward_ans from)
        {
            if (from == this)
            {
                return;
            }

            Clear();
            MergeFrom(from);
        }
Пример #2
0
        public void MergeFrom(attendance_monthly_reward_ans from)
        {
            if (from == this)
            {
                return;
            }

            // result
            SetResult(from.GetResult());
            // rewards
            int rewardsLength = rewards_.Length;
            Array.Resize(ref rewards_, rewardsLength + from.rewards_.Length);
            Array.Copy(from.rewards_, 0, rewards_, rewardsLength, from.rewards_.Length);
        }
Пример #3
0
 public attendance_monthly_reward_ans(attendance_monthly_reward_ans from)
 {
     MergeFrom(from);
 }