예제 #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);
     }
 }
예제 #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);
     }
 }
예제 #3
0
 private void ReportDependencyCore(DependencyItemSourceInfo from, DependencyItemSourceInfo to, DependencyItemSourceInfo reportedBy, string type)
 {
     DependencyGraph.ReportDependency(new DependencyItem(from, to, reportedBy, type));
 }
예제 #4
0
 private void ReportDependencyCore(string from, string to, string reportedBy, string type)
 {
     DependencyGraph.ReportDependency(new DependencyItem(from, to, reportedBy, type));
 }