コード例 #1
0
 public Wrestler(Wrestler wrestler)
 {
     BirthDay   = wrestler.BirthDay;
     Age        = wrestler.Age;
     FirstName  = wrestler.FirstName;
     LastName   = wrestler.LastName;
     School     = wrestler.School;
     WrestlerId = wrestler.WrestlerId;
 }
コード例 #2
0
 public Point(Point point)
 {
     PointValue     = point.PointValue;
     MethodScored   = point.MethodScored;
     HomeScored     = point.HomeScored;
     HomeWrestler   = new Wrestler(point.HomeWrestler);
     AwayWrestler   = new Wrestler(point.AwayWrestler);
     VideoDirectory = point.VideoDirectory;
 }
コード例 #3
0
 public Match(Match match)
 {
     WeightClass  = match.WeightClass;
     HomeWrestler = new Wrestler(match.HomeWrestler);
     AwayWrestler = new Wrestler(match.AwayWrestler);
     MatchName    = match.MatchName;
     foreach (var point in match.PointsScored)
     {
         Point newPoint = new Point(point);
         {
             PointsScored.Add(newPoint);
         }
     }
 }