다음을 통해 공유


ExportLanguageServiceFactoryAttribute Class

Definition

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

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

Remarks

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

Constructors

ExportLanguageServiceFactoryAttribute(Type, String, String)

Use this attribute to declare a ILanguageServiceFactory 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