ApplyChangesOperation Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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 ref class ApplyChangesOperation sealed : Microsoft::CodeAnalysis::CodeActions::CodeActionOperation
public sealed class ApplyChangesOperation : Microsoft.CodeAnalysis.CodeActions.CodeActionOperation
type ApplyChangesOperation = class
inherit CodeActionOperation
Public NotInheritable Class ApplyChangesOperation
Inherits CodeActionOperation
- Inheritance
Constructors
ApplyChangesOperation(Solution) |
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: |
Properties
ChangedSolution | |
Title |
A short title describing of the effect of the operation. (Inherited from CodeActionOperation) |
Methods
Apply(Workspace, CancellationToken) |
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for