Partager via


LanguageServerProvider Constructors

Definition

Overloads

LanguageServerProvider()

Initializes a new instance of the LanguageServerProvider class.

LanguageServerProvider(ExtensionCore, VisualStudioExtensibility)

Initializes a new instance of the LanguageServerProvider class.

LanguageServerProvider()

Initializes a new instance of the LanguageServerProvider class.

public LanguageServerProvider ();
Public Sub New ()

Remarks

This constructors utilizes ExtensionContext to get required services.

Applies to

LanguageServerProvider(ExtensionCore, VisualStudioExtensibility)

Initializes a new instance of the LanguageServerProvider class.

public LanguageServerProvider (Microsoft.VisualStudio.Extensibility.ExtensionCore container, Microsoft.VisualStudio.Extensibility.VisualStudioExtensibility extensibilityObject);
new Microsoft.VisualStudio.Extensibility.LanguageServer.LanguageServerProvider : Microsoft.VisualStudio.Extensibility.ExtensionCore * Microsoft.VisualStudio.Extensibility.VisualStudioExtensibility -> Microsoft.VisualStudio.Extensibility.LanguageServer.LanguageServerProvider
Public Sub New (container As ExtensionCore, extensibilityObject As VisualStudioExtensibility)

Parameters

container
ExtensionCore

Extension instance that can be used for sharing state across parts.

extensibilityObject
VisualStudioExtensibility

Extensibility instance to be used by the service implementation.

Applies to