Share via


ApplyChangesOperation(Solution) Constructor

Definition

A CodeActionOperation for applying solution changes to a workspace. GetOperationsAsync(CancellationToken) may return at most one ApplyChangesOperation. Hosts may provide custom handling for ApplyChangesOperations, but if a CodeAction requires custom host behavior not supported by a single ApplyChangesOperation, then instead:

    public:
     ApplyChangesOperation(Microsoft::CodeAnalysis::Solution ^ changedSolution);
    public ApplyChangesOperation (Microsoft.CodeAnalysis.Solution changedSolution);
    new Microsoft.CodeAnalysis.CodeActions.ApplyChangesOperation : Microsoft.CodeAnalysis.Solution -> Microsoft.CodeAnalysis.CodeActions.ApplyChangesOperation
    Public Sub New (changedSolution As Solution)

    Parameters

    changedSolution
    Solution

    Applies to