public PersonaRepository()
        {
            personaReader = new StreamReader(System.Web.Hosting.HostingEnvironment.MapPath("~/App_Data/FusionGuide.csv"));
            skillReader   = new StreamReader(System.Web.Hosting.HostingEnvironment.MapPath("~/App_Data/SkillList.csv"));

            fusionUtilities      = new FusionUtilities();
            inheritanceUtilities = new InheritanceUtilities();
            skillModel           = new SkillModel(skillReader);
            personaModel         = new PersonaModel(personaReader, skillModel, inheritanceUtilities);
            fusionModel          = new FusionModel(personaModel, fusionUtilities);
        }
Esempio n. 2
0
 public FusionModel(PersonaModel personaModel, FusionUtilities fusionUtilities)
 {
     this.personaModel    = personaModel;
     this.fusionUtilities = fusionUtilities;
 }