RefactorAllProvider 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.
Implement this abstract type to provide refactor all occurrences support for code refactorings.
public abstract class RefactorAllProvider
type RefactorAllProvider = class
Public MustInherit Class RefactorAllProvider
- Inheritance
-
RefactorAllProvider
Remarks
TODO: Make public, tracked with https://github.com/dotnet/roslyn/issues/60703
Constructors
| Name | Description |
|---|---|
| RefactorAllProvider() | |
Methods
| Name | Description |
|---|---|
| Create(Func<RefactorAllContext,Document,Optional<ImmutableArray<TextSpan>>,Task<Document>>, ImmutableArray<RefactorAllScope>) |
Create a RefactorAllProvider that refactors documents independently. This can be used in the case where refactoring(s) registered by this provider only affect a single Document. |
| Create(Func<RefactorAllContext,Document,Optional<ImmutableArray<TextSpan>>,Task<Document>>) |
Create a RefactorAllProvider that refactors documents independently. This can be used in the case where refactoring(s) registered by this provider only affect a single Document. |
| GetRefactoringAsync(RefactorAllContext) |
Gets refactor all occurrences for the given |
| GetSupportedRefactorAllScopes() | |