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 IProject that can validate XML
.
public static IProject GetProject(this ISyntaxLanguage language)
Parameter | Type | Description |
---|---|---|
language | ISyntaxLanguage | The ISyntaxLanguage to update. |
Returns
RegisterProject(ISyntaxLanguage, IProject)
Registers the IProject that can validate XML
.
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 IProject that can validate XML
.
public static void UnregisterProject(this ISyntaxLanguage language)
Parameter | Type | Description |
---|---|---|
language | ISyntaxLanguage | The ISyntaxLanguage to update. |