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

Remarks

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

Constructors

ExportLanguageServiceAttribute(Type, String, String)

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

Properties

Language

The language that the service is target for. Specify a value from LanguageNames, or other language name.

Layer

The layer that the service is specified for. Specify a value from ServiceLayer.

ServiceType

The assembly qualified name of the service's type.

Applies to