private bool HasDependencyFromNoLock(string from) { if (!_isResolved) { throw new InvalidOperationException($"Dependency graph isn't resolved, cannot call the method."); } return(_indexOnFrom.ContainsKey(from)); }
private bool HasDependencyReportedByNoLock(string reportedBy) { if (!_isResolved) { throw new InvalidOperationException($"Dependency graph isn't resolved, cannot call the method."); } return(_indexOnReportedBy.ContainsKey(reportedBy)); }
private bool HasDependencyFromNoLock(string from) { return(_indexOnFrom.ContainsKey(from)); }
private bool HasDependencyReportedByNoLock(string reportedBy) { return(_indexOnReportedBy.ContainsKey(reportedBy)); }