private HashSet <ReferenceItem> GetReferenceReportedByNoLock(string reportedBy) { if (!_indexOnReferenceReportedBy.TryGetValue(reportedBy, out HashSet <ReferenceItem> indice)) { return(new HashSet <ReferenceItem>()); } return(indice); }
private HashSet <DependencyItem> GetDependencyFromNoLock(string from) { HashSet <DependencyItem> indice; if (!_indexOnFrom.TryGetValue(from, out indice)) { return(new HashSet <DependencyItem>()); } return(indice); }
private HashSet <DependencyItem> GetDependencyReportedByNoLock(string reportedBy) { HashSet <DependencyItem> indice; if (!_indexOnReportedBy.TryGetValue(reportedBy, out indice)) { return(new HashSet <DependencyItem>()); } return(indice); }
private HashSet <DependencyItem> GetDependencyToNoLock(string to) { if (!_isResolved) { throw new InvalidOperationException($"Dependency graph isn't resolved, cannot call the method."); } if (!_indexOnTo.TryGetValue(to, out HashSet <DependencyItem> indice)) { return(new HashSet <DependencyItem>()); } return(indice); }
private HashSet <DependencyItem> GetDependencyFromNoLock(string from) { if (!_isResolved) { throw new InvalidOperationException($"Dependency graph isn't resolved, cannot call the method."); } HashSet <DependencyItem> indice; if (!_indexOnFrom.TryGetValue(from, out indice)) { return(new HashSet <DependencyItem>()); } return(indice); }