Esempio n. 1
0
        public static void WatcherChangesetSent(this IActionLog log, MsBuildFileSystemWatcher.Changeset changeset)
        {
            var sb = new StringBuilder();

            sb.AppendLine("MsBuildFileSystemWatcher changeset sent.")
            .AppendWatcherChangesetPart(changeset.AddedFiles, "Added Files:")
            .AppendWatcherChangesetPart(changeset.RenamedFiles, "Renamed Files:")
            .AppendWatcherChangesetPart(changeset.RemovedFiles, "Removed Files:")
            .AppendWatcherChangesetPart(changeset.AddedDirectories, "Added Directories:")
            .AppendWatcherChangesetPart(changeset.RenamedDirectories, "Renamed Directories:")
            .AppendWatcherChangesetPart(changeset.RemovedDirectories, "Removed Directories:");

            log.Trace(sb.ToString());
        }
Esempio n. 2
0
 public static void WatcherConsumeChangesFinished(this IActionLog log)
 {
     log.Trace("File system changes consumer finished");
 }
Esempio n. 3
0
 public static void WatcherApplyRecoveryChange(this IActionLog log, string change)
 {
     log.Trace(Invariant($"Apply recovery change: {change}"));
 }
Esempio n. 4
0
 public static void WatcherConsumeChangesScheduled(this IActionLog log)
 {
     log.Trace("Consume file system changes scheduled");
 }
Esempio n. 5
0
 public static void WatcherStarted(this IActionLog log)
 {
     log.Trace("MsBuildFileSystemWatcher started");
 }
Esempio n. 6
0
 public static void ApplyProjectChangesStarted(this IActionLog log)
 {
     log.Trace("Starting applying changes to file-mirroring project");
 }
Esempio n. 7
0
 public static void MsBuildAfterChangesApplied(this IActionLog log, ProjectRootElement rootElement)
 {
     log.Trace("File mirroring project after changes applied:" + Environment.NewLine + rootElement.RawXml);
 }
Esempio n. 8
0
 public static void ApplyProjectChangesFinished(this IActionLog log)
 {
     log.Trace("Finished applying changes to file-mirroring project");
 }