public FileContent Compile(FileContent file)
        {
            Checker.IsNull(file, "file");

            file.Content = whitespace.Replace(file.Content.Trim(), " ");
            return file;
        }
        public FileContent Compile(FileContent file)
        {
            Checker.IsNull(file, "file");

            file.Content = regex.Replace(file.Content, String.Empty);
            return file;
        }
Esempio n. 3
0
        public FileContent Compile(FileContent file)
        {
            Checker.IsNull(file, "file");

            sb.AppendFormat(BeginTag, file.Name);
            sb.Append(file.Content);
            sb.Append(EndTag);

            file.Content = sb.ToString();
            sb.Clear();

            return file;
        }