Share via


ExportLanguageServiceAttribute Class

Definition

Use this attribute to declare a ILanguageService implementation for inclusion in a MEF-based workspace.

public ref class ExportLanguageServiceAttribute : System::Composition::ExportAttribute
[System.AttributeUsage(System.AttributeTargets.Class)]
[System.Composition.MetadataAttribute]
public class ExportLanguageServiceAttribute : System.Composition.ExportAttribute
[<System.AttributeUsage(System.AttributeTargets.Class)>]
[<System.Composition.MetadataAttribute>]
type ExportLanguageServiceAttribute = class
    inherit ExportAttribute
Public Class ExportLanguageServiceAttribute
Inherits ExportAttribute
Inheritance
ExportLanguageServiceAttribute
Attributes

Constructors

ExportLanguageServiceAttribute(Type, String, String)

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

Properties

Language

The language that the service is target for; LanguageNames.CSharp, etc.

Layer

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

ServiceType

The assembly qualified name of the service's type.

Applies to