// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System.Collections.Immutable; using System.Composition; using Microsoft.CodeAnalysis.CodeRefactorings; using Microsoft.CodeAnalysis.CSharp.Wrapping.SeparatedSyntaxList; using Microsoft.CodeAnalysis.CSharp.Wrapping.BinaryExpression; using Microsoft.CodeAnalysis.CSharp.Wrapping.ChainedExpression; using Microsoft.CodeAnalysis.Wrapping; namespace Microsoft.CodeAnalysis.CSharp.Wrapping { [ExportCodeRefactoringProvider(LanguageNames.CSharp, Name = PredefinedCodeRefactoringProviderNames.Wrapping), Shared] internal class CSharpWrappingCodeRefactoringProvider : AbstractWrappingCodeRefactoringProvider { private static readonly ImmutableArray s_wrappers = ImmutableArray.Create( new CSharpArgumentWrapper(), new CSharpParameterWrapper(), new CSharpBinaryExpressionWrapper(), new CSharpChainedExpressionWrapper()); [ImportingConstructor] public CSharpWrappingCodeRefactoringProvider() : base(s_wrappers) { } } }