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