/
githubmirror
/
roslyn
Обзор
Документация
Войти
/
githubmirror
/
roslyn
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
src/LanguageServer/Protocol/Features/Options/ExtractMethodOptionsStorage.cs
20 строк
850 B
Tomáš Matoušek
Remove fallbacks (2) (#74319)
10 июл 2024, 05:38
Не верифицирован
10 июл 2024, 05:38
6d1db01
Код
Авторство
О чём код?
// 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. using Microsoft.CodeAnalysis.CodeCleanup; using Microsoft.CodeAnalysis.CodeGeneration; using Microsoft.CodeAnalysis.Host; using Microsoft.CodeAnalysis.Options; namespace Microsoft.CodeAnalysis.ExtractMethod; internal static class ExtractMethodOptionsStorage { public static ExtractMethodGenerationOptions GetExtractMethodGenerationOptions(this IGlobalOptionService globalOptions, LanguageServices languageServices) => new() { CodeGenerationOptions = globalOptions.GetCodeGenerationOptions(languageServices), CodeCleanupOptions = globalOptions.GetCodeCleanupOptions(languageServices), }; }