AK.F1.Timing.Model.Collections.PostedTimeCollectionModel.UpdateTypeCounts C# (CSharp) Method

UpdateTypeCounts() private method

private UpdateTypeCounts ( PostedTime item ) : void
item PostedTime
return void
        private void UpdateTypeCounts(PostedTime item)
        {
            if(item.Type == PostedTimeType.PersonalBest)
            {
                ++PersonalBestCount;
            }
            else if(item.Type == PostedTimeType.SessionBest)
            {
                ++SessionBestCount;
            }
        }