// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
usingSystem.Collections.Generic;usingMicrosoft.CodeAnalysis.CodeActions;namespaceMicrosoft.CodeAnalysis.CodeRefactorings{internalstaticclassCodeRefactoringContextExtensions{/// <summary>/// Use this helper to register multiple refactorings (<paramref name="actions"/>)./// </summary>internalstaticvoidRegisterRefactorings(thisCodeRefactoringContextcontext,IEnumerable<CodeAction>actions){foreach(varactioninactions){context.RegisterRefactoring(action);}}}