DotNetSyntaxLanguageExtensions Class
Contains extension methods that make it easier to work with .NET ISyntaxLanguage objects.
public static class DotNetSyntaxLanguageExtensions
- Inheritance:
- Object Object
Methods
GetDocumentationCommentAutoCompleter(ISyntaxLanguage)
Returns the IDocumentationCommentAutoCompleter that can validate XML
.
public static IDocumentationCommentAutoCompleter GetDocumentationCommentAutoCompleter(this ISyntaxLanguage language)
Parameter | Type | Description |
---|---|---|
language | ISyntaxLanguage | The ISyntaxLanguage to update. |
Returns
GetProjectAssembly(ISyntaxLanguage)
Returns the IProjectAssembly that can validate XML
.
public static IProjectAssembly GetProjectAssembly(this ISyntaxLanguage language)
Parameter | Type | Description |
---|---|---|
language | ISyntaxLanguage | The ISyntaxLanguage to update. |
Returns
- IProjectAssembly:
The IProjectAssembly instance.
RegisterDocumentationCommentAutoCompleter(ISyntaxLanguage, IDocumentationCommentAutoCompleter)
Registers the IDocumentationCommentAutoCompleter that can validate XML
.
public static void RegisterDocumentationCommentAutoCompleter(this ISyntaxLanguage language, IDocumentationCommentAutoCompleter value)
Parameter | Type | Description |
---|---|---|
language | ISyntaxLanguage | The ISyntaxLanguage to update. |
value | IDocumentationCommentAutoCompleter | The IDocumentationCommentAutoCompleter instance. |
RegisterProjectAssembly(ISyntaxLanguage, IProjectAssembly)
Registers the IProjectAssembly that can validate XML
.
public static void RegisterProjectAssembly(this ISyntaxLanguage language, IProjectAssembly value)
Parameter | Type | Description |
---|---|---|
language | ISyntaxLanguage | The ISyntaxLanguage to update. |
value | IProjectAssembly | The IProjectAssembly instance. |
UnregisterDocumentationCommentAutoCompleter(ISyntaxLanguage)
Unregisters the IDocumentationCommentAutoCompleter that can validate XML
.
public static void UnregisterDocumentationCommentAutoCompleter(this ISyntaxLanguage language)
Parameter | Type | Description |
---|---|---|
language | ISyntaxLanguage | The ISyntaxLanguage to update. |
UnregisterProjectAssembly(ISyntaxLanguage)
Unregisters the IProjectAssembly that can validate XML
.
public static void UnregisterProjectAssembly(this ISyntaxLanguage language)
Parameter | Type | Description |
---|---|---|
language | ISyntaxLanguage | The ISyntaxLanguage to update. |