次の方法で共有


ExportLanguageServiceAttribute クラス

定義

MEF ベースのワークスペースに含めるための実装を ILanguageService 宣言するには、この属性を使用します。

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
継承
ExportLanguageServiceAttribute
属性

コンストラクター

ExportLanguageServiceAttribute(Type, String, String)

MEF ベースの ILanguageService ワークスペースに含めるための実装を宣言します。

プロパティ

Language

サービスの対象となる言語。LanguageNames.CSharp など

Layer

サービスが指定されているレイヤー。ServiceLayer.Default など

ServiceType

サービスの型のアセンブリ修飾名。

適用対象