static void Saving(object sender, EventArgs e) { var manifest = (Manifest)sender; if (manifest != null && !string.IsNullOrEmpty(manifest.FileName)) { ProjectHelpers.CheckFileOutOfSourceControl(manifest.FileName); } }
static void Copying(object sender, FileCopyEventArgs e) { Logger.Log($"Copying {Path.GetFileName(e.Destination)}"); ProjectHelpers.CheckFileOutOfSourceControl(e.Destination); }