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
countintThe number of references.
cultureCultureInfoThe language of the reader; the current UI culture by default.
Returns
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
namestringThe name the symbol is declared with.
cultureCultureInfoThe language of the reader; the current UI culture by default.
Returns
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
namestringThe name the symbol is declared with.
newNamestringThe name it is renamed to.
cultureCultureInfoThe language of the reader; the current UI culture by default.