Table of Contents

Interface ICodeRefactoringServiceProvider

Namespace
Alternet.Syntax.Parsers.Roslyn
Assembly
Alternet.Syntax.Parsers.Roslyn.v9.dll

Represents base interface for code refactoring provider.

public interface ICodeRefactoringServiceProvider

Methods

GetRefactoringsAsync(Document, TextSpan, bool, CancellationToken)

When implemented by a class, retrieves a list of CodeRefactoring for specified text spans inside a given document.

HasCodeRefactors(Document, TextSpan, bool, CancellationToken)

When implemented by a class, indicates whether the document has any code refactors for the specified text span.