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));
25
internal IReadOnlyDictionary<T, HashSet<T>> DependenciesMap =>
_dependenciesMap
;
27
private bool IsEmpty =>
_dependenciesMap
.Count == 0;
47
foreach (var depPair in
_dependenciesMap
)
110
return
_dependenciesMap
.Where(p => dependentVertices.Contains(p.Key))
181
if (
_dependenciesMap
.TryGetValue(vertex, out var children) && children != null && children.Count != 0)