Пример #1
0
 public Crew(RawCrew rawCrew, EventCategory eventCategory, CrewOverride crewOverride, IClub boatingLocation, int startNumber, IEnumerable<IClub> clubs)
 {
     _rawCrew = rawCrew;
     _eventCategory = eventCategory;
     _categories = new Dictionary<ICategory, int>();
     _crewOverride = crewOverride;
     _athletes = new List<IAthlete>();
     _startNumber = startNumber;
     _boatingLocation = boatingLocation;
     if (boatingLocation != null)
         boatingLocation.AddBoatingCrew (this);
     _clubs = clubs.ToList ();
 }
Пример #2
0
 public Crew(RawCrew rawCrew, EventCategory eventCategory, CrewOverride crewOverride, IClub boatingLocation, int startNumber, IEnumerable <IClub> clubs)
 {
     _rawCrew         = rawCrew;
     _eventCategory   = eventCategory;
     _categories      = new Dictionary <ICategory, int>();
     _crewOverride    = crewOverride;
     _athletes        = new List <IAthlete>();
     _startNumber     = startNumber;
     _boatingLocation = boatingLocation;
     if (boatingLocation != null)
     {
         boatingLocation.AddBoatingCrew(this);
     }
     _clubs = clubs.ToList();
 }