System.Composition.Hosting.Core 命名空間

包含代表組合引擎核心功能的類別,包括組合作業、合約、組件相依性、匯出描述,以及共用組件的存留期內容 (用以管理其處置方式)。

類別

CompositionContract

表示組件之間的合約,可讓組合引擎比對匯入與匯出。

CompositionDependency

表示組件為了滿足 ExportDescriptorPromise 而必須具備的相依性。 組合引擎在初始化期間會使用此類別,藉此決定是否可以進行組合;如果不可,則決定要提供哪些錯誤。

CompositionOperation

代表單一複合作業。

DependencyAccessor

允許 ExportDescriptorProvider 物件找出自身的相依性。

ExportDescriptor

描述組合引擎得知的組件匯出。

ExportDescriptorPromise

代表可用組件可以提供的匯出描述元。

ExportDescriptorProvider

提供組合引擎已知之組件的匯出描述。

LifetimeContext

代表在存留期樹狀中的節點。

委派

CompositeActivator

委派,允許在組合期間存取組件及匯出的執行個體。