private static void OnUpdatedFile(object sender, CompilerEventArgs e) { Console.WriteLine("Wrote {0} bytes to:", e.FileSize); Console.WriteLine("\t{0}", e.FileName); Console.WriteLine(); }
private void OnUpdatedFile(String target) { if (UpdatedFile != null) { var args = new CompilerEventArgs(target, (new FileInfo(target)).Length); UpdatedFile(this, args); } }