Share via


ExportLanguageServiceFactoryAttribute(Type, String, String) Constructor

Definition

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