public Resume Parse(IList <string> content, string fileName) { var resume = new Resume { FileName = fileName }; var firstNameFound = false; var emailFound = false; var phoneFound = false; var mapper = new SkillSetMapper(); ExtractFirstAndLastName(resume, firstNameFound); foreach (var line in content) { emailFound = ExtractEmail(resume, emailFound, line); phoneFound = ExtractPhone(resume, phoneFound, line); ExtractSocialProfiles(resume, line); ExtractSkills(mapper, resume, line); } return(resume); }
private void ExtractSkills(SkillSetMapper mapper, Resume resume, string line) { mapper.GetSkillSet(resume, line); }
public SkillSetFileRepository(IFileReader loader, SkillSetMapper mapper) : base(loader, mapper) { }