C# Class Microsoft.CodeAnalysis.Editor.Implementation.Suggestions.FixAllGetFixesService

Inheritance: IFixAllGetFixesService, IWorkspaceServiceFactory
显示文件 Open project: peachpiecompiler/Peachpie.Microsoft.CodeAnalysis

Public Methods

Method Description
CreateService ( HostWorkspaceServices workspaceServices ) : IWorkspaceService
GetFixAllChangedSolutionAsync ( FixAllContext fixAllContext ) : Task
GetFixAllOperationsAsync ( FixAllContext fixAllContext, bool showPreviewChangesDialog ) : Task>

Private Methods

Method Description
FixAllGetFixesService ( ) : System
GetFixAllCodeActionAsync ( FixAllContext fixAllContext ) : Task
GetFixAllOperationsAsync ( CodeAction codeAction, bool showPreviewChangesDialog, FixAllState fixAllState, CancellationToken cancellationToken ) : Task>
GetNewFixAllOperations ( ImmutableArray operations, Solution newSolution, CancellationToken cancellationToken ) : ImmutableArray
PreviewChanges ( Solution currentSolution, Solution newSolution, string fixAllPreviewChangesTitle, string fixAllTopLevelHeader, string languageOpt, Workspace workspace, int? correlationId = null, CancellationToken cancellationToken = default ) : Solution

Method Details

CreateService() public method

public CreateService ( HostWorkspaceServices workspaceServices ) : IWorkspaceService
workspaceServices HostWorkspaceServices
return IWorkspaceService

GetFixAllChangedSolutionAsync() public method

public GetFixAllChangedSolutionAsync ( FixAllContext fixAllContext ) : Task
fixAllContext FixAllContext
return Task

GetFixAllOperationsAsync() public method

public GetFixAllOperationsAsync ( FixAllContext fixAllContext, bool showPreviewChangesDialog ) : Task>
fixAllContext FixAllContext
showPreviewChangesDialog bool
return Task>