PythonSyntaxLanguageExtensions Class
Contains extension methods that make it easier to work with Python ISyntaxLanguage objects.
public static class PythonSyntaxLanguageExtensions
- Inheritance:
- object object
Methods
GetProject(ISyntaxLanguage)
Returns the Python IProject.
public static IProject? GetProject(this ISyntaxLanguage language)
| Parameter | Type | Description |
|---|---|---|
| language | ISyntaxLanguage | The ISyntaxLanguage to update. |
Returns
RegisterProject(ISyntaxLanguage, IProject)
Registers the Python IProject.
public static void RegisterProject(this ISyntaxLanguage language, IProject value)
| Parameter | Type | Description |
|---|---|---|
| language | ISyntaxLanguage | The ISyntaxLanguage to update. |
| value | IProject | The IProject instance. |
UnregisterProject(ISyntaxLanguage)
Unregisters the Python IProject.
public static void UnregisterProject(this ISyntaxLanguage language)
| Parameter | Type | Description |
|---|---|---|
| language | ISyntaxLanguage | The ISyntaxLanguage to update. |