ExportLanguageServiceAttribute Kelas
Definisi
Penting
Beberapa informasi terkait produk prarilis yang dapat diubah secara signifikan sebelum dirilis. Microsoft tidak memberikan jaminan, tersirat maupun tersurat, sehubungan dengan informasi yang diberikan di sini.
Gunakan atribut ini untuk mendeklarasikan ILanguageService implementasi untuk penyertaan di ruang kerja berbasis MEF.
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
- Warisan
-
ExportLanguageServiceAttribute
- Atribut
Konstruktor
| Nama | Deskripsi |
|---|---|
| ExportLanguageServiceAttribute(Type, String, String) |
ILanguageService Menyatakan implementasi untuk penyertaan di ruang kerja berbasis MEF. |
Properti
| Nama | Deskripsi |
|---|---|
| Language |
Bahasa yang menjadi target layanan; LanguageNames.CSharp, dll. |
| Layer |
Lapisan yang ditentukan layanan; ServiceLayer.Default, dll. |
| ServiceType |
Nama rakitan yang memenuhi syarat dari jenis layanan. |