internal override AbstractDescriptionBuilder CreateDescriptionBuilder(
     IVsObjectBrowserDescription3 description,
     ObjectListItem listItem,
     Project project)
 {
     return new DescriptionBuilder(description, this, listItem, project);
 }
Пример #2
0
 public DescriptionBuilder(
     IVsObjectBrowserDescription3 description,
     ObjectBrowserLibraryManager librayManager,
     ObjectListItem listItem,
     Project project)
     : base(description, librayManager, listItem, project)
 {
 }
        internal bool TryFillDescription(ObjectListItem listItem, IVsObjectBrowserDescription3 description, _VSOBJDESCOPTIONS options)
        {
            var project = GetProject(listItem);
            if (project == null)
            {
                return false;
            }

            return CreateDescriptionBuilder(description, listItem, project).TryBuild(options);
        }
 protected AbstractDescriptionBuilder(
     IVsObjectBrowserDescription3 description,
     AbstractObjectBrowserLibraryManager libraryManager,
     ObjectListItem listItem,
     Project project)
 {
     _description = description;
     _libraryManager = libraryManager;
     _listItem = listItem;
     _project = project;
 }
 internal abstract AbstractDescriptionBuilder CreateDescriptionBuilder(
     IVsObjectBrowserDescription3 description,
     ObjectListItem listItem,
     Project project);
 internal void SetActiveListItem(ObjectListItem listItem)
 {
     _activeListItem = listItem;
 }
 internal abstract AbstractDescriptionBuilder CreateDescriptionBuilder(
     IVsObjectBrowserDescription3 description,
     ObjectListItem listItem,
     Project project);
        internal Project GetProject(ObjectListItem listItem)
        {
            var projectId = listItem.ProjectId;
            if (projectId == null)
            {
                return null;
            }

            return this.GetProject(projectId);
        }
 internal void SetActiveListItem(ObjectListItem listItem)
 {
     _activeListItem = listItem;
 }
 internal ImmutableArray<ObjectListItem> GetTypeListItems(ObjectListItem parentListItem, Compilation compilation)
 {
     return GetListItemFactory().GetTypeListItems(parentListItem, compilation);
 }
Пример #11
0
 internal ImmutableArray <ObjectListItem> GetTypeListItems(ObjectListItem parentListItem, Compilation compilation)
 {
     return(GetListItemFactory().GetTypeListItems(parentListItem, compilation));
 }
Пример #12
0
 internal ImmutableArray <ObjectListItem> GetReferenceListItems(ObjectListItem parentListItem, Compilation compilation)
 => GetListItemFactory().GetReferenceListItems(parentListItem, compilation);