3 instantiations of ActivityLevel
Roslyn.VisualStudio.DiagnosticsWindow (3)
PerfMargin\DataModel.cs (3)
28var root = new ActivityLevel("All"); 39parent = new ActivityLevel(featureName, root, createChildList: true); 43builder.SetItem(value, new ActivityLevel(name, parent, createChildList: false));
18 references to ActivityLevel
Roslyn.VisualStudio.DiagnosticsWindow (18)
PerfMargin\ActivityLevel.cs (6)
23private readonly List<ActivityLevel> _children; 24private readonly ActivityLevel _parent; 32public ActivityLevel(string name, ActivityLevel parent, bool createChildList) 77_children.Sort(new Comparison<ActivityLevel>((a, b) => string.CompareOrdinal(a.Name, b.Name))); 78foreach (var child in _children) 90public IReadOnlyCollection<ActivityLevel> Children
PerfMargin\DataModel.cs (6)
15public ActivityLevel RootNode { get; } 17private readonly ImmutableArray<ActivityLevel?> _activities; 25using var _ = ArrayBuilder<ActivityLevel?>.GetInstance(out var builder); 27var features = new Dictionary<string, ActivityLevel>(); 28var root = new ActivityLevel("All"); 37if (!features.TryGetValue(featureName, out var parent))
PerfMargin\PerfMarginPanel.cs (4)
43_mainListView = CreateContent(new ActivityLevel[] { s_model.RootNode }.Concat(s_model.RootNode.Children), useWrapPanel: true); 87private ListView CreateContent(IEnumerable<ActivityLevel> items, bool useWrapPanel) 91foreach (var item in items) 147if (selectedItem.Tag is ActivityLevel context && context.Children != null && context.Children.Any())
PerfMargin\StatusIndicator.xaml.cs (2)
20private readonly ActivityLevel _activityLevel; 23internal StatusIndicator(ActivityLevel activityLevel)