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