Renamer Class

Definition

public ref class Renamer abstract sealed
public static class Renamer
type Renamer = class
Public Class Renamer
Inheritance
Renamer

Methods

RenameDocumentAsync(Document, DocumentRenameOptions, String, IReadOnlyList<String>, CancellationToken)

Call to perform a rename of document or change in document folders. Returns additional code changes related to the document being modified, such as renaming symbols in the file.

Each change is added as a Renamer.RenameDocumentAction in the returned ApplicableActions.

Each action may individually encounter errors that prevent it from behaving correctly. Those are reported in GetErrors(CultureInfo).

Current supported actions that may be returned:

RenameDocumentAsync(Document, String, IReadOnlyList<String>, OptionSet, CancellationToken)
Obsolete.

Call to perform a rename of document or change in document folders. Returns additional code changes related to the document being modified, such as renaming symbols in the file.

Each change is added as a Renamer.RenameDocumentAction in the returned ApplicableActions.

Each action may individually encounter errors that prevent it from behaving correctly. Those are reported in GetErrors(CultureInfo).

Current supported actions that may be returned:

RenameSymbolAsync(Solution, ISymbol, String, OptionSet, CancellationToken)
RenameSymbolAsync(Solution, ISymbol, SymbolRenameOptions, String, CancellationToken)

Applies to