1 write to _dependenciesMap
Microsoft.TemplateEngine.Utils (1)
DirectedGraph.cs (1)
20_dependenciesMap = DeepCopy(dependenciesMap);
7 references to _dependenciesMap
Microsoft.TemplateEngine.Utils (7)
DirectedGraph.cs (7)
21_vertices = GetVertices(_dependenciesMap); 22_dependentsMap = new Lazy<Dictionary<T, HashSet<T>>>(() => GetDependentsMap(_dependenciesMap, _vertices)); 25internal IReadOnlyDictionary<T, HashSet<T>> DependenciesMap => _dependenciesMap; 27private bool IsEmpty => _dependenciesMap.Count == 0; 47foreach (var depPair in _dependenciesMap) 110return _dependenciesMap.Where(p => dependentVertices.Contains(p.Key)) 181if (_dependenciesMap.TryGetValue(vertex, out var children) && children != null && children.Count != 0)