Example #1
0
 public void ReportDependency(FileModel currentFileModel, ImmutableArray <string> dependency)
 {
     if (currentFileModel == null)
     {
         throw new ArgumentNullException(nameof(currentFileModel));
     }
     lock (DependencyGraph)
     {
         DependencyGraph.ReportDependency(currentFileModel.OriginalFileAndType.File, dependency);
     }
 }
Example #2
0
 public void ReportDependency(FileModel currentFileModel, ImmutableArray <string> dependency)
 {
     if (currentFileModel == null)
     {
         throw new ArgumentNullException(nameof(currentFileModel));
     }
     lock (DependencyGraph)
     {
         DependencyGraph.ReportDependency(((RelativePath)currentFileModel.OriginalFileAndType.File).GetPathFromWorkingFolder().ToString(), dependency);
     }
 }
Example #3
0
 private void ReportDependencyCore(DependencyItemSourceInfo from, DependencyItemSourceInfo to, DependencyItemSourceInfo reportedBy, string type)
 {
     DependencyGraph.ReportDependency(new DependencyItem(from, to, reportedBy, type));
 }
Example #4
0
 private void ReportDependencyCore(string from, string to, string reportedBy, string type)
 {
     DependencyGraph.ReportDependency(new DependencyItem(from, to, reportedBy, type));
 }