Esempio n. 1
0
        internal bool ExportStrippedFile(string path)
        {
            if (path == string.Empty)
            {
                return(false);
            }

            string compiledText = FileCont.ToString(true);

            if (compiledText == string.Empty)
            {
                return(false);
            }

            File.WriteAllText(path, compiledText);
            return(true);
        }
Esempio n. 2
0
        internal bool SaveToFile(string path)
        {
            if (path == string.Empty)
            {
                return(false);
            }

            FileCont.Path = path;

            string compiledFileText = FileCont.ToString();

            if (compiledFileText == string.Empty)
            {
                return(false);
            }

            File.WriteAllText(FileCont.Path, compiledFileText);
            return(true);
        }