Esempio n. 1
0
File: Game.cs Progetto: danfma/NDB
 public Game(DateTime when, Sport sport, Team team1, Team team2)
 {
     this.when = when;
     this.sport = sport;
     this.team1 = team1;
     this.team2 = team2;
 }
Esempio n. 2
0
File: Game.cs Progetto: danfma/NDB
 public virtual void SetSport(Sport sport)
 {
     this.sport = sport;
 }
Esempio n. 3
0
File: Player.cs Progetto: danfma/NDB
 public virtual void SetFavoriteSport(Sport favoriteSport)
 {
     this.favoriteSport = favoriteSport;
 }
Esempio n. 4
0
 public virtual void SetSport(Sport sport)
 {
     this.sport = sport;
 }
Esempio n. 5
0
File: Player.cs Progetto: danfma/NDB
 public Player(string name, DateTime birthDate, Sport favoriteSport)
 {
     this.name = name;
     this.birthDate = birthDate;
     this.favoriteSport = favoriteSport;
 }