Пример #1
0
 /// <summary>
 /// Aggregates the fielding statistics.
 /// </summary>
 /// <param name="gameFieldingStatistics">FieldingStatisticsContainer</param>
 protected virtual void AggregateFieldingStatistics(FieldingStatisticsContainer gameFieldingStatistics)
 {
     this.seasonFieldingStatistics.Assists              += gameFieldingStatistics.Assists;
     this.seasonFieldingStatistics.Putouts              += gameFieldingStatistics.Putouts;
     this.seasonFieldingStatistics.Errors               += gameFieldingStatistics.Errors;
     this.seasonFieldingStatistics.StolenBases          += gameFieldingStatistics.StolenBases;
     this.seasonFieldingStatistics.StealAttemptsAgainst += gameFieldingStatistics.StealAttemptsAgainst;
 }
Пример #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="T:StatusQuoBaseball.Base.SeasonStatisticsContainer"/> class.
 /// </summary>
 /// <param name="person">Person.</param>
 public SeasonStatisticsContainer(Person person) : base(person)
 {
     this.seasonBattingStatistics  = new BattingStatisticsContainer((Player)this.person);
     this.seasonPitchingStatistics = new PitchingStatisticsContainer((Player)this.person);
     this.seasonFieldingStatistics = new FieldingStatisticsContainer((Player)this.person);
 }
Пример #3
0
 /// <summary>
 /// Aggregates the fielding statistics.
 /// </summary>
 /// <param name="gameFieldingStatistics">Game fielding statistics.</param>
 protected override void AggregateFieldingStatistics(FieldingStatisticsContainer gameFieldingStatistics)
 {
     base.AggregateFieldingStatistics(gameFieldingStatistics);
 }