3 types derived from MenuItemViewModel
Microsoft.VisualStudio.LanguageServices (3)
InheritanceMargin\MarginGlyph\HeaderMenuItemViewModel.cs (1)
15internal class HeaderMenuItemViewModel : MenuItemViewModel
InheritanceMargin\MarginGlyph\MemberMenuItemViewModel.cs (1)
31internal class MemberMenuItemViewModel : MenuItemViewModel
InheritanceMargin\MarginGlyph\TargetMenuItemViewModel.cs (1)
20internal class TargetMenuItemViewModel : MenuItemViewModel
13 references to MenuItemViewModel
Microsoft.VisualStudio.LanguageServices (9)
InheritanceMargin\InheritanceMarginHelpers.cs (5)
102public static ImmutableArray<MenuItemViewModel> CreateModelsForMarginItem(InheritanceMarginItem item) 138public static ImmutableArray<MenuItemViewModel> CreateMenuItemViewModelsForMultipleMembers(ImmutableArray<InheritanceMarginItem> members) 147CreateModelsForMarginItem(m))).CastArray<MenuItemViewModel>(); 150public static ImmutableArray<MenuItemViewModel> CreateMenuItemsWithHeader( 156using var _ = ArrayBuilder<MenuItemViewModel>.GetInstance(out var builder);
InheritanceMargin\MarginGlyph\InheritanceMarginGlyphViewModel.cs (2)
87public ImmutableArray<MenuItemViewModel> MenuItemViewModels { get; } 100ImmutableArray<MenuItemViewModel> menuItemViewModels)
InheritanceMargin\MarginGlyph\MemberMenuItemViewModel.cs (2)
36public ImmutableArray<MenuItemViewModel> Targets { get; } 41ImmutableArray<MenuItemViewModel> targets) : base(displayContent, imageMoniker)
Microsoft.VisualStudio.LanguageServices.UnitTests (4)
InheritanceMargin\InheritanceMarginViewModelTests.vb (4)
139Private Shared Sub VerifyMenuItem(expected As MenuItemViewModelData, actual As MenuItemViewModel) 277Dim targetForBar1 = ImmutableArray.Create(Of MenuItemViewModel)(New HeaderMenuItemViewModel(ServicesVSResources.Derived_types, KnownMonikers.Overridden)). 282Dim targetForBar2 = ImmutableArray.Create(Of MenuItemViewModel)( 289Dim targetForBar3 = ImmutableArray.Create(Of MenuItemViewModel)(New HeaderMenuItemViewModel(ServicesVSResources.Base_Types, KnownMonikers.Overriding)).