public override bool Execute() { var result = ExpressionHasherWriter.Write(InputFiles.Select(c => c.ItemSpec).ToArray()); File.WriteAllText(OutputFile.ItemSpec, result); return(true); }
public void TestHasher() { var paths = Directory.EnumerateFiles(@"..\..\..\..\src\Shaolinq", "*.cs", SearchOption.AllDirectories) .Where(c => !Path.GetFileName(c).StartsWith("Generated")).ToArray(); var s = ExpressionHasherWriter.Write(paths); Console.WriteLine(s); }