다음을 통해 공유


ExportLanguageServiceFactoryAttribute(Type, String, String) Constructor

Definition

Use this attribute to declare 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; CSharp, etc.

layer
String

The layer that the service is specified for; Default, etc.

Remarks

Declares a ILanguageServiceFactory implementation for inclusion in a MEF-based workspace.

Applies to