Click or drag to resize

ApplyChangesOperation Class



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:
    Inheritance Hierarchy
    SystemObject
      Microsoft.CodeAnalysis.CodeActionsCodeActionOperation
        Microsoft.CodeAnalysis.CodeActionsApplyChangesOperation

    Namespace:  Microsoft.CodeAnalysis.CodeActions
    Assembly:  Microsoft.CodeAnalysis.Workspaces (in Microsoft.CodeAnalysis.Workspaces.dll) Version: 2.3.0-dev-56735-00. Commit Hash: <developer build>
    Syntax
    public sealed class ApplyChangesOperation : CodeActionOperation

    The ApplyChangesOperation type exposes the following members.

    Constructors
      NameDescription
    Public methodApplyChangesOperation
    Initializes a new instance of the ApplyChangesOperation class
    Top
    Properties
      NameDescription
    Public propertyChangedSolution
    Public propertyTitle
    A short title describing of the effect of the operation.
    (Inherited from CodeActionOperation.)
    Top
    Methods
    See Also