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