Click or drag to resize

HostLanguageServices Class



Per language services provided by the host environment.
Inheritance Hierarchy
SystemObject
  Microsoft.CodeAnalysis.HostHostLanguageServices

Namespace:  Microsoft.CodeAnalysis.Host
Assembly:  Microsoft.CodeAnalysis.Workspaces (in Microsoft.CodeAnalysis.Workspaces.dll) Version: 2.3.0-dev-56735-00. Commit Hash: <developer build>
Syntax
public abstract class HostLanguageServices

The HostLanguageServices type exposes the following members.

Constructors
  NameDescription
Protected methodHostLanguageServices
Initializes a new instance of the HostLanguageServices class
Top
Properties
  NameDescription
Public propertyLanguage
The name of the language
Public propertyWorkspaceServices
The HostWorkspaceServices that originated this language service.
Top
Methods
  NameDescription
Public methodGetRequiredServiceTLanguageService
Gets a language specific service provided by the host identified by the service type. If the host does not provide the service, this method returns throws InvalidOperationException.
Public methodGetServiceTLanguageService
Gets a language specific service provided by the host identified by the service type. If the host does not provide the service, this method returns null.
Top
See Also