/// <summary> /// Método que obtiene los dopcumentos de una /// </summary> /// <param name="matricula">Matricula del alumno</param> /// <returns>Arreglo con los contactos que le corresponden a la matricula</returns> public static Document[] ObtenerDocumentos( string matricula, string fndcCode, string aidyCode, string aidpCode) { DocumentList documentList = new DocumentList(matricula, fndcCode, aidyCode, aidpCode); return(documentList.GetDocumentList().ToArray()); }
private void button13_Click(object sender, EventArgs e) { String summaryFilePath = Application.StartupPath + "\\Preprocessing\\" + PreprocessingConsts.SummaryFileName; Dictionary dictionary = new FrequentDictionary(summaryFilePath, 100); DocumentList dl = new DocumentList(folderTextBox.Text, dictionary, DocumentRepresentationType.Own, null, null); foreach (Document doc in dl.GetDocumentList()) { Console.WriteLine(doc); } }