1 type derived from TargetMenuItemViewModel
Microsoft.VisualStudio.LanguageServices (1)
InheritanceMargin\MarginGlyph\DisambiguousTargetMenuItemViewModel.cs (1)
24
internal class DisambiguousTargetMenuItemViewModel :
TargetMenuItemViewModel
7 instantiations of TargetMenuItemViewModel
Microsoft.VisualStudio.LanguageServices (1)
InheritanceMargin\MarginGlyph\TargetMenuItemViewModel.cs (1)
37
=>
new
(
Microsoft.VisualStudio.LanguageServices.UnitTests (6)
InheritanceMargin\InheritanceMarginViewModelTests.vb (6)
278
Add(New
TargetMenuItemViewModel
("Bar2", KnownMonikers.ClassPublic, Nothing)).Add(New
TargetMenuItemViewModel
("Bar3", KnownMonikers.ClassPublic, Nothing))
284
Add(New
TargetMenuItemViewModel
("Bar1", KnownMonikers.ClassPublic, Nothing)).
286
Add(New
TargetMenuItemViewModel
("Bar3", KnownMonikers.ClassPublic, Nothing))
290
Add(New
TargetMenuItemViewModel
("Bar1", KnownMonikers.ClassPublic, Nothing)).
291
Add(New
TargetMenuItemViewModel
("Bar2", KnownMonikers.ClassPublic, Nothing))
31 references to TargetMenuItemViewModel
Microsoft.VisualStudio.LanguageServices (7)
InheritanceMargin\InheritanceMarginHelpers.cs (2)
189
builder.Add(
TargetMenuItemViewModel
.Create(
195
builder.Add(
TargetMenuItemViewModel
.Create(target, target.DisplayName));
InheritanceMargin\MarginGlyph\InheritanceMarginContextMenu.xaml.cs (2)
49
if (e.OriginalSource is MenuItem { DataContext:
TargetMenuItemViewModel
viewModel })
58
private async Task TargetMenuItem_OnClickAsync(
TargetMenuItemViewModel
viewModel)
InheritanceMargin\MarginGlyph\InheritanceMarginGlyph.cs (1)
167
&& inheritanceMarginViewModel.MenuItemViewModels.Any(static vm => vm is
TargetMenuItemViewModel
))
InheritanceMargin\MarginGlyph\MenuItemContainerTemplateSelector.cs (1)
30
if (item is
TargetMenuItemViewModel
)
InheritanceMargin\MarginGlyph\TargetMenuItemViewModel.cs (1)
36
public static
TargetMenuItemViewModel
Create(InheritanceTargetItem target, string displayContent)
Microsoft.VisualStudio.LanguageServices.UnitTests (24)
InheritanceMargin\InheritanceMarginViewModelTests.vb (24)
173
New MenuItemViewModelData("Bar", "Bar", KnownMonikers.ClassPublic, GetType(
TargetMenuItemViewModel
)))},
180
New MenuItemViewModelData("IBar", "IBar", KnownMonikers.InterfacePublic, GetType(
TargetMenuItemViewModel
)))}})
207
New MenuItemViewModelData("Bar", "Bar", KnownMonikers.ClassPublic, GetType(
TargetMenuItemViewModel
)))},
214
New MenuItemViewModelData("Bar.Foo", "Bar.Foo", KnownMonikers.MethodPublic, GetType(
TargetMenuItemViewModel
)))},
221
New MenuItemViewModelData("AbsBar", "AbsBar", KnownMonikers.ClassPublic, GetType(
TargetMenuItemViewModel
)))},
228
New MenuItemViewModelData("AbsBar.Foo", "AbsBar.Foo", KnownMonikers.MethodPublic, GetType(
TargetMenuItemViewModel
)))}})
248
New MenuItemViewModelData("IBar2", "IBar2", KnownMonikers.InterfacePublic, GetType(
TargetMenuItemViewModel
)),
249
New MenuItemViewModelData("IBar3", "IBar3", KnownMonikers.InterfacePublic, GetType(
TargetMenuItemViewModel
)))},
256
New MenuItemViewModelData("IBar1", "IBar1", KnownMonikers.InterfacePublic, GetType(
TargetMenuItemViewModel
)),
258
New MenuItemViewModelData("IBar3", "IBar3", KnownMonikers.InterfacePublic, GetType(
TargetMenuItemViewModel
)))},
265
New MenuItemViewModelData("IBar1", "IBar1", KnownMonikers.InterfacePublic, GetType(
TargetMenuItemViewModel
)),
266
New MenuItemViewModelData("IBar2", "IBar2", KnownMonikers.InterfacePublic, GetType(
TargetMenuItemViewModel
)))}})
300
New MenuItemViewModelData("Bar2", "Bar2", KnownMonikers.ClassPublic, GetType(
TargetMenuItemViewModel
)),
301
New MenuItemViewModelData("Bar3", "Bar3", KnownMonikers.ClassPublic, GetType(
TargetMenuItemViewModel
)))},
308
New MenuItemViewModelData("Bar1", "Bar1", KnownMonikers.ClassPublic, GetType(
TargetMenuItemViewModel
)),
310
New MenuItemViewModelData("Bar3", "Bar3", KnownMonikers.ClassPublic, GetType(
TargetMenuItemViewModel
)))},
317
New MenuItemViewModelData("Bar1", "Bar1", KnownMonikers.ClassPublic, GetType(
TargetMenuItemViewModel
)),
318
New MenuItemViewModelData("Bar2", "Bar2", KnownMonikers.ClassPublic, GetType(
TargetMenuItemViewModel
)))}})
347
New MenuItemViewModelData("BarSample", "BarSample", KnownMonikers.ClassPublic, GetType(
TargetMenuItemViewModel
)))},
355
New MenuItemViewModelData("BarSample.e1", "BarSample.e1", KnownMonikers.EventPublic, GetType(
TargetMenuItemViewModel
))),
358
New MenuItemViewModelData("BarSample.e2", "BarSample.e2", KnownMonikers.EventPublic, GetType(
TargetMenuItemViewModel
))))},
365
New MenuItemViewModelData("IBar1", "IBar1", KnownMonikers.InterfaceInternal, GetType(
TargetMenuItemViewModel
)))},
373
New MenuItemViewModelData("IBar1.e1", "IBar1.e1", KnownMonikers.EventPublic, GetType(
TargetMenuItemViewModel
))),
376
New MenuItemViewModelData("IBar1.e2", "IBar1.e2", KnownMonikers.EventPublic, GetType(
TargetMenuItemViewModel
))))}})