示例#1
0
        public void CopyFrom(attendance_list from)
        {
            if (from == this)
            {
                return;
            }

            Clear();
            MergeFrom(from);
        }
示例#2
0
        public void MergeFrom(attendance_list from)
        {
            if (from == this)
            {
                return;
            }

            // infos
            int infosLength = infos_.Length;
            Array.Resize(ref infos_, infosLength + from.infos_.Length);
            Array.Copy(from.infos_, 0, infos_, infosLength, from.infos_.Length);
        }
示例#3
0
 public void SetInfos(attendance_list value)
 {
     infos_ = value;
 }
示例#4
0
 public attendance_list(attendance_list from)
 {
     MergeFrom(from);
 }