共用方式為


ExportLanguageServiceFactoryAttribute 類別

定義

使用這個屬性來宣告 ILanguageServiceFactory 實作以包含在 MEF 型工作區中。

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
繼承
ExportLanguageServiceFactoryAttribute
屬性

建構函式

ExportLanguageServiceFactoryAttribute(Type, String, String)

ILanguageServiceFactory宣告實作以包含在 MEF 型工作區中。

屬性

Language

服務的目的語言;LanguageNames.CSharp 等。

Layer

為服務指定的圖層;ServiceLayer.Default 等。

ServiceType

服務的型別元件限定名稱。

適用於