Table of Contents

Class CodeRefactor

Namespace
Alternet.Syntax
Assembly
Alternet.Syntax.v9.dll

Represents properties to describe a particular code refactor action in the code text.

public class CodeRefactor : ICodeRefactor, ICloneable
Inheritance
CodeRefactor
Implements

Constructors

CodeRefactor()

Initializes a new instance of the CodeRefactor class with default settings.

Properties

ActionDescription

Gets or sets code refactor action description.

ActionName

Gets or sets code refactor action name.

Children

Gets a list of nested code refactors.

Description

Gets or sets code fix description.

EndPos

Gets or sets end position of the text being refactored.

GetTextChangesAsync

Gets or sets action to apply code fix.

Name

Gets or sets code fix description.

Position

Gets or sets start position of the text being refactored.

TextChangesFunc

Gets or sets functions that retrieves code changes for particular refactor.

Methods

Clone()

Creates a new object that is a copy of the current ICodeFixAction object.

GetTextChanges(bool)

Retrieves code changes for particular code refactor.