public void Update(Models.Skier skier)
 {
     this.Skier = skier;
     this.Raise(nameof(this.FullName));
     this.Raise(nameof(this.CountryCode));
     this.Raise(nameof(this.IsActive));
 }
Ejemplo n.º 2
0
 public StatsItemViewModel(RaceStatisticEntry raceStatisticEntry, Models.Skier skier)
 {
     this.CurrentPosition     = raceStatisticEntry.CurrentPosition;
     this.DeltaPosition       = raceStatisticEntry.DeltaPosition;
     this.SkierFullname       = skier.FullName();
     this.SkierCountryCode    = skier.CountryCode;
     this.Time                = raceStatisticEntry.Time;
     this.DeltaTimeLeadership = raceStatisticEntry.DeltaTimeLeadership;
 }
 public SkierListItemViewModel(Models.Skier skier)
 {
     this.Skier = skier;
 }