Click or drag to resize

CodeRefactoringProvider Class



Inherit this type to provide source code refactorings. Remember to use ExportCodeRefactoringProviderAttribute so the host environment can offer your refactorings in a UI.
Inheritance Hierarchy
SystemObject
  Microsoft.CodeAnalysis.CodeRefactoringsCodeRefactoringProvider

Namespace:  Microsoft.CodeAnalysis.CodeRefactorings
Assembly:  Microsoft.CodeAnalysis.Workspaces (in Microsoft.CodeAnalysis.Workspaces.dll) Version: 2.3.0-dev-56735-00. Commit Hash: <developer build>
Syntax
public abstract class CodeRefactoringProvider

The CodeRefactoringProvider type exposes the following members.

Constructors
  NameDescription
Protected methodCodeRefactoringProvider
Initializes a new instance of the CodeRefactoringProvider class
Top
Methods
  NameDescription
Public methodComputeRefactoringsAsync
Computes one or more refactorings for the specified CodeRefactoringContext.
Top
See Also