public ProjectFolder(string _mcmFilePath) { string mcmContent = DiskIO.ReadTextFile(_mcmFilePath); string[] tempArr = mcmContent.Split(';'); this.title = tempArr[0]; this.location = tempArr[1]; playlists = new AudioFolder(ContentLocation, AUDIO_FOLDER_NAME); playlists = AudioFolder.SerializeFromJSON(ContentLocation, AUDIO_FOLDER_NAME, "index.en.json"); movies = new VideoFolder(ContentLocation, VIDEO_FOLDER_NAME); movies = VideoFolder.SerializeFromJSON(ContentLocation, VIDEO_FOLDER_NAME, "index.en.json"); announces = new VideoFolder(ContentLocation, ANNOUNC_FOLDER_NAME); announces = VideoFolder.SerializeFromJSON(ContentLocation, ANNOUNC_FOLDER_NAME, "index.en.json"); articles = new PDFFolder(ContentLocation, PDF_FOLDER_NAME); articles = PDFFolder.SerializeFromJSON(ContentLocation, PDF_FOLDER_NAME, "index.en.json"); questions = new SurveyFolder(ContentLocation, SURVEY_FOLDER_NAME); questions = SurveyFolder.SerializeFromJSON(ContentLocation, SURVEY_FOLDER_NAME, "index.en.json"); }