/
githubmirror
/
roslyn
Обзор
Документация
Войти
/
githubmirror
/
roslyn
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
src/VisualStudio/VisualBasic/Impl/ObjectBrowser/ObjectBrowserLibraryManager.vb
32 строки
1 KB
Jason Malinowski
Make the fetch of the VisualStudioWorkspace lazy in ObjectBrowser
21 мар 2026, 02:55
21 мар 2026, 02:55
48c00dc
Код
Авторство
О чём код?
' Licensed to the .NET Foundation under one or more agreements. ' The .NET Foundation licenses this file to you under the MIT license. ' See the LICENSE file in the project root for more information. Imports Microsoft.CodeAnalysis Imports Microsoft.VisualStudio.Shell.Interop Imports Microsoft.VisualStudio.LanguageServices.Implementation.Library.ObjectBrowser Imports Microsoft.VisualStudio.ComponentModelHost Namespace Microsoft.VisualStudio.LanguageServices.VisualBasic.ObjectBrowser Friend NotInheritable Class ObjectBrowserLibraryManager Inherits AbstractObjectBrowserLibraryManager Public Sub New(serviceProvider As IServiceProvider, componentModel As IComponentModel) MyBase.New(LanguageNames.VisualBasic, Guids.VisualBasicLibraryId, serviceProvider, componentModel) End Sub Friend Overrides Function CreateDescriptionBuilder( description As IVsObjectBrowserDescription3, listItem As ObjectListItem, project As Project ) As AbstractDescriptionBuilder Return New DescriptionBuilder(description, Me, listItem, project) End Function Friend Overrides Function CreateListItemFactory() As AbstractListItemFactory Return New ListItemFactory() End Function End Class End Namespace