Пример #1
0
 // Internal for testing purpose
 internal TargetMenuItemViewModel(
     string displayContent,
     ImageMoniker imageMoniker,
     DetachedDefinitionItem definitionItem) : base(displayContent, imageMoniker)
 {
     DefinitionItem = definitionItem;
 }
 // Internal for testing purpose
 internal DisambiguousTargetMenuItemViewModel(
     string displayContent,
     ImageMoniker imageMoniker,
     DetachedDefinitionItem definitionItem,
     ImageMoniker languageMoniker) : base(displayContent, imageMoniker, definitionItem)
 {
     LanguageMoniker = languageMoniker;
 }
 public InheritanceTargetItem(
     InheritanceRelationship relationToMember,
     DetachedDefinitionItem definitionItem,
     Glyph glyph,
     Glyph languageGlyph,
     string displayName,
     string?projectName)
 {
     RelationToMember = relationToMember;
     DefinitionItem   = definitionItem;
     Glyph            = glyph;
     LanguageGlyph    = languageGlyph;
     DisplayName      = displayName;
     ProjectName      = projectName;
 }