Поделиться через


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

Полное имя сборки типа службы.

Применяется к