Esempio n. 1
0
        /// <summary>
        /// @brief   Generate a CCDictionary pointer by file
        /// @param   pFileName  The file name of *.plist file
        /// @return  The CCDictionary pointer generated from the file
        /// </summary>
        /// <typeparam name="?"></typeparam>
        /// <typeparam name="?"></typeparam>
        /// <param name="?"></param>
        /// <returns></returns>
        public static Dictionary <string, object> DictionaryWithContentsOfFile(string filename)
        {
            CCDictMaker tMaker = new CCDictMaker();

            return(tMaker.DictionaryWithContentsOfFile(filename));
        }
Esempio n. 2
0
 /// <summary>
 /// Generate a CCDictionary from file
 /// </summary>
 /// <returns>The with contents of file.</returns>
 /// <param name="filename">Filename.</param>
 public static Dictionary<string, object> DictionaryWithContentsOfFile(string filename)
 {
     CCDictMaker tMaker = new CCDictMaker();
     return tMaker.DictionaryWithContentsOfFile(filename);
 }