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); }
public ParticipantImportUtils(Mapping mapping, IList <ParticipantCategory> categories, ClassAssignment classAssignment = null) : base(mapping, classAssignment) { _categories = categories; }
public ParticipantImport(IList <Participant> particpants, Mapping mapping, IList <ParticipantCategory> categories, ClassAssignment classAssignment = null) { _particpants = particpants; _partImportUtils = new ParticipantImportUtils(mapping, categories, classAssignment); }
protected BaseImportUtils(Mapping mapping, ClassAssignment classAssignment) { _mapping = mapping; _classAssignment = classAssignment; }