Table of Contents

Class RefactoringTitles

Namespace
RDCore.SDK.Semantics.Refactoring
Assembly
RDCore.SDK.dll

What the platform's code actions are called, in the language of the reader.

public static class RefactoringTitles
Inheritance
RefactoringTitles
Inherited Members

Methods

References(int, CultureInfo?)

The title of the code lens that counts the references of a member: 3 references.

public static string References(int count, CultureInfo? culture = null)

Parameters

count int

The number of references.

culture CultureInfo

The language of the reader; the current UI culture by default.

Returns

string

Remarks

Each language says none, one and more its own way: French says 0 référence, English 0 references.

Rename(string, CultureInfo?)

The title of the code action that renames a symbol to a name the user chooses: Rename 'x'….

public static string Rename(string name, CultureInfo? culture = null)

Parameters

name string

The name the symbol is declared with.

culture CultureInfo

The language of the reader; the current UI culture by default.

Returns

string

RenameTo(string, string, CultureInfo?)

The title of the code action that renames a symbol to a name it suggests: Rename 'strName' to 'Name'.

public static string RenameTo(string name, string newName, CultureInfo? culture = null)

Parameters

name string

The name the symbol is declared with.

newName string

The name it is renamed to.

culture CultureInfo

The language of the reader; the current UI culture by default.

Returns

string