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