Ejemplo n.º 1
0
 public TourLog(DateTime date, string report, double distance, TimeSpan time, int rating, double avgSpeed, int burnedJoule, int difficulty, int heightdelta, Tour tour, double maxspeed, Guid id) : this(date, report, distance, time, rating, avgSpeed, burnedJoule, difficulty, heightdelta, tour, maxspeed)
     => this.Id = id;
Ejemplo n.º 2
0
 public TourLog(DateTime date, string report, double distance, TimeSpan time, int rating, double avgSpeed, int burnedJoule, int difficulty, int heightdelta, Tour tour, double maxspeed)
 {
     Date        = date;
     Report      = report;
     Distance    = distance;
     Time        = time;
     Rating      = rating;
     Id          = Guid.NewGuid();
     AvgSpeed    = avgSpeed;
     BurnedJoule = burnedJoule;
     Difficulty  = difficulty;
     HeightDelta = heightdelta;
     MaxSpeed    = maxspeed;
     Tour        = tour;
 }