Пример #1
0
 public RaceImport(Race race, Mapping mapping, ClassAssignment classAssignment = null)
 {
     _race              = race;
     _partImportUtils   = new ParticipantImportUtils(mapping, _race.GetDataModel().GetParticipantCategories(), classAssignment);
     _participantImport = new ParticipantImport(_race.GetDataModel().GetParticipants(), mapping, _race.GetDataModel().GetParticipantCategories(), classAssignment);
 }
Пример #2
0
 public ParticipantImportUtils(Mapping mapping, IList <ParticipantCategory> categories, ClassAssignment classAssignment = null)
     : base(mapping, classAssignment)
 {
     _categories = categories;
 }
Пример #3
0
 public ParticipantImport(IList <Participant> particpants, Mapping mapping, IList <ParticipantCategory> categories, ClassAssignment classAssignment = null)
 {
     _particpants     = particpants;
     _partImportUtils = new ParticipantImportUtils(mapping, categories, classAssignment);
 }
Пример #4
0
 protected BaseImportUtils(Mapping mapping, ClassAssignment classAssignment)
 {
     _mapping         = mapping;
     _classAssignment = classAssignment;
 }