Exemple #1
0
        private void WriteBaseFile(Word_ID newWord)
        {
            StreamWriter sw = new StreamWriter(HopeLoveMindPath + BaseConceptsStringFilename, true, MyEncoding);

            sw.Write("\r\n" + newWord.ToString());
            sw.Flush();
            sw.Close();
        }
Exemple #2
0
        override public string ToString()
        {
            string res = "";

            res += me.ToString() + " ";
            edge_infos.ForEach(edgeInfo =>
            {
                res += "to " + edgeInfo.to.ToString() + " ";
//                 edgeInfo.mods.ForEach(mod =>
//                 {
//                     res += mod.ToString() + " ";
//                 });

                res += edgeInfo.mods;
            });

            return(res);
        }