/
githubmirror
/
roslyn
Обзор
Документация
Войти
/
githubmirror
/
roslyn
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
src/Features/VisualBasic/Portable/Copilot/VisualBasicCopilotProposalAdjusterService.vb
26 строк
1 KB
Cyrus Najmabadi
Simplify
22 сен 2025, 17:47
22 сен 2025, 17:47
69583e3
Код
Авторство
О чём код?
' 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 System.Composition Imports System.Threading Imports Microsoft.CodeAnalysis.Copilot Imports Microsoft.CodeAnalysis.Host.Mef Imports Microsoft.CodeAnalysis.Options Namespace Microsoft.CodeAnalysis.VisualBasic.Copilot <ExportLanguageService(GetType(ICopilotProposalAdjusterService), LanguageNames.VisualBasic), [Shared]> Friend NotInheritable Class VisualBasicCopilotProposalAdjusterService Inherits AbstractCopilotProposalAdjusterService <ImportingConstructor> <Obsolete(MefConstruction.ImportingConstructorMessage, True)> Public Sub New(globalOptions As IGlobalOptionService) MyBase.New(globalOptions) End Sub Protected Overrides Function AddMissingTokensIfAppropriateAsync(originalDocument As Document, forkedDocument As Document, cancellationToken As CancellationToken) As Task(Of Document) Return Task.FromResult(forkedDocument) End Function End Class End Namespace