/
githubmirror
/
roslyn
Обзор
Документация
Войти
/
githubmirror
/
roslyn
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
src/Features/VisualBasic/Portable/AddFileBanner/VisualBasicAddFileBannerNewDocumentFormattingProvider.vb
29 строк
1 KB
David Wengier
Use new document formatting service when generating types (#55463)
10 авг 2021, 03:51
Не верифицирован
10 авг 2021, 03:51
06495a2
Код
Авторство
О чём код?
' 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 Microsoft.CodeAnalysis.AddFileBanner Imports Microsoft.CodeAnalysis.Editing Imports Microsoft.CodeAnalysis.FileHeaders Imports Microsoft.CodeAnalysis.Formatting Imports Microsoft.CodeAnalysis.Host.Mef Imports Microsoft.CodeAnalysis.VisualBasic.CodeGeneration Imports Microsoft.CodeAnalysis.VisualBasic.FileHeaders Namespace Microsoft.CodeAnalysis.VisualBasic.AddFileBanner <ExportNewDocumentFormattingProvider(LanguageNames.VisualBasic), [Shared]> Friend Class VisualBasicAddFileBannerNewDocumentFormattingProvider Inherits AbstractAddFileBannerNewDocumentFormattingProvider <ImportingConstructor> <Obsolete(MefConstruction.ImportingConstructorMessage, True)> Public Sub New() End Sub Protected Overrides ReadOnly Property SyntaxGenerator As SyntaxGenerator = VisualBasicSyntaxGenerator.Instance Protected Overrides ReadOnly Property SyntaxGeneratorInternal As SyntaxGeneratorInternal = VisualBasicSyntaxGeneratorInternal.Instance Protected Overrides ReadOnly Property FileHeaderHelper As AbstractFileHeaderHelper = VisualBasicFileHeaderHelper.Instance End Class End Namespace