Esempio n. 1
0
        public override void SetOrdering()
        {
            int counter = 0;

            foreach (var crew in Crews.Where(cr => cr.FinishType == FinishType.Finished).OrderBy(cr => cr.Adjusted))
            {
                crew.SetCategoryOrder(this, ++counter);
            }
        }
        public virtual void SetOrdering()
        {
            int counter = 0;

            foreach (var crew in Crews.Where(cr => cr.FinishType == FinishType.Finished).OrderBy(cr => cr.Elapsed))
            {
                crew.SetCategoryOrder(this, ++counter);
            }
        }
        public override void SetOrdering()
        {
            if (_categoryOverride != null && _categoryOverride.AggregationMaster)
            {
                int counter = 0;
                foreach (var crew in Crews.Where(cr => cr.FinishType == FinishType.Finished).OrderBy(cr => cr.Adjusted))
                {
                    crew.SetCategoryOrder(this, ++counter);
                }
                return;
            }
            if (_aggregationMaster != null)
            {
                return;
            }

            base.SetOrdering();
        }