ExportLanguageServiceFactoryAttribute(Type, String, String) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Declares a ILanguageServiceFactory implementation for inclusion in a MEF-based workspace.
public ExportLanguageServiceFactoryAttribute (Type type, string language, string layer = "Default");
new Microsoft.CodeAnalysis.Host.Mef.ExportLanguageServiceFactoryAttribute : Type * string * string -> Microsoft.CodeAnalysis.Host.Mef.ExportLanguageServiceFactoryAttribute
Public Sub New (type As Type, language As String, Optional layer As String = "Default")
Parameters
- type
- Type
The type that will be used to retrieve the service from a HostLanguageServices.
- language
- String
The language that the service is target for; LanguageNames.CSharp, etc.
- layer
- String
The layer that the service is specified for; ServiceLayer.Default, etc.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.