Exemple #1
0
        public void CopyFrom(CourseInfo courseInfo)
        {
            if (courseInfo == null)
            {
                return;
            }

            Holes    = courseInfo.Holes;
            Id       = courseInfo.Id;
            Name     = courseInfo.Name;
            Par      = courseInfo.Par;
            PlayerId = courseInfo.PlayerId;
        }
Exemple #2
0
 public CourseInfo(CourseInfo courseInfo)
 {
     CopyFrom(courseInfo);
 }