Click or drag to resize

ExportLanguageServiceAttribute Class



Use this attribute to declare a ILanguageService implementation for inclusion in a MEF-based workspace.
Inheritance Hierarchy
ExportAttribute
  Microsoft.CodeAnalysis.Host.MefExportLanguageServiceAttribute

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

The ExportLanguageServiceAttribute type exposes the following members.

Constructors
  NameDescription
Public methodExportLanguageServiceAttribute
Declares a ILanguageService implementation for inclusion in a MEF-based workspace.
Top
Properties
  NameDescription
Public propertyLanguage
The language that the service is target for; LanguageNames.CSharp, etc.
Public propertyLayer
The layer that the service is specified for; ServiceLayer.Default, etc.
Public propertyServiceType
The assembly qualified name of the service's type.
Top
See Also