Пример #1
0
	public CV generateCV(Candidate candidate)
    {
        // Generate a CV object for a given candidate
        string cvText = "";
        cvText += makeHeader(candidate);
        cvText += makeJobHistory(candidate);

        List<string> skillHobbies = generateSkillHobbies(candidate);
        if(skillHobbies[0].Length != 9)
            cvText += skillHobbies[0];
        if(skillHobbies[1].Length != 9)
            cvText += skillHobbies[1];

        cvText += doctorsNote(candidate);

        Sprite cvPic = candidate.getCVPic();

        CV cv = new CV(candidate, cvText, cvPic);
        return cv;
    }