Esempio n. 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));
 }
Esempio n. 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));
 }
Esempio n. 3
0
 private bool HasDependencyFromNoLock(string from)
 {
     return(_indexOnFrom.ContainsKey(from));
 }
Esempio n. 4
0
 private bool HasDependencyReportedByNoLock(string reportedBy)
 {
     return(_indexOnReportedBy.ContainsKey(reportedBy));
 }