Exemple #1
0
 public Score CopyToScore(TennisPrices.VjekosScore ScoreToCopy)
 {
     this.PointA        = ScoreToCopy.PointA;
     this.PointB        = ScoreToCopy.PointB;
     this.GamesA        = ScoreToCopy.GamesA;
     this.GamesB        = ScoreToCopy.GamesB;
     this.SetsA         = ScoreToCopy.SetsA;
     this.SetsB         = ScoreToCopy.SetsB;
     this.PlayerServing = ScoreToCopy.PlayerServing;
     this.TiebreakNow   = ScoreToCopy.TiebreakNow;
     return(this);
 }
Exemple #2
0
 public TennisPrices.VjekosScore CopyToVS()
 {
     TennisPrices.VjekosScore Result = new TennisPrices.VjekosScore();
     Result.PointA        = this.PointA;
     Result.PointB        = this.PointB;
     Result.GamesA        = this.GamesA;
     Result.GamesB        = this.GamesB;
     Result.SetsA         = this.SetsA;
     Result.SetsB         = this.SetsB;
     Result.PlayerServing = this.PlayerServing;
     Result.TiebreakNow   = this.TiebreakNow;
     return(Result);
 }