public void ReportDependency(FileModel currentFileModel, ImmutableArray <string> dependency) { if (currentFileModel == null) { throw new ArgumentNullException(nameof(currentFileModel)); } lock (DependencyGraph) { DependencyGraph.ReportDependency(currentFileModel.OriginalFileAndType.File, dependency); } }
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); } }
private void ReportDependencyCore(DependencyItemSourceInfo from, DependencyItemSourceInfo to, DependencyItemSourceInfo reportedBy, string type) { DependencyGraph.ReportDependency(new DependencyItem(from, to, reportedBy, type)); }
private void ReportDependencyCore(string from, string to, string reportedBy, string type) { DependencyGraph.ReportDependency(new DependencyItem(from, to, reportedBy, type)); }