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