public override bool Execute()
        {
            var result = ExpressionComparerWriter.Write(InputFiles.Select(c => c.ItemSpec).ToArray());

            File.WriteAllText(OutputFile.ItemSpec, result);

            return(true);
        }
Exemplo n.º 2
0
        public void TestWriter()
        {
            var paths = Directory.EnumerateFiles(@"..\..\..\..\src\Shaolinq", "*.cs", SearchOption.AllDirectories)
                        .Where(c => !Path.GetFileName(c).StartsWith("Generated")).ToArray();

            var s = ExpressionComparerWriter.Write(paths);

            Console.WriteLine(s);
        }