System.ComponentModel.Composition.Hosting 命名空間

System.ComponentModel.Composition.Hosting 命名空間可提供 Managed Extensibility Framework (MEF) 類型,對擴充應用程式或主應用程式的開發人員很有用。 The System.ComponentModel.Composition.Hosting namespace provides Managed Extensibility Framework (MEF) types that are useful to developers of extensible applications, or hosts.

類別

AggregateCatalog

合併 ComposablePartCatalog 物件各項目的資料目錄。A catalog that combines the elements of ComposablePartCatalog objects.

AggregateExportProvider

擷取 ExportProvider 物件集合所提供的匯出。Retrieves exports provided by a collection of ExportProvider objects.

ApplicationCatalog

探索動態連結程式庫 (DLL) 中的屬性化組件和應用程式目錄和路徑中的 EXE 檔案。Discovers attributed parts in the dynamic link library (DLL) and EXE files in an application's directory and path.

AssemblyCatalog

探索在 Managed 程式碼組件中的屬性化組件。Discovers attributed parts in a managed code assembly.

AtomicComposition

表示交易性撰寫的單一撰寫作業。Represents a single composition operation for transactional composition.

CatalogExportProvider

從目錄擷取匯出。Retrieves exports from a catalog.

CatalogExtensions

提供用於建構撰寫服務的擴充方法。Provides extension methods for constructing composition services.

ComposablePartCatalogChangeEventArgs

提供 Changed 事件的資料。Provides data for the Changed event.

ComposablePartExportProvider

從組件擷取匯出。Retrieves exports from a part.

CompositionBatch

表示一組 ComposablePart 物件,這組物件將加入單一交易撰寫的容器中或從中移除。Represents a set of ComposablePart objects which will be added or removed from the container in a single transactional composition.

CompositionConstants

包含撰寫系統使用的靜態中繼資料機碼。Contains static metadata keys used by the composition system.

CompositionContainer

管理組件的撰寫。Manages the composition of parts.

CompositionScopeDefinition

表示範圍內目錄樹狀結構中的節點,反映出基礎的目錄和其子範圍。Represents a node in a tree of scoped catalogs, reflecting an underlying catalog and its child scopes.

CompositionService

提供方法來滿足現有組件執行個體上的匯入。Provides methods to satisfy imports on an existing part instance.

DirectoryCatalog

在指定目錄的組件中探索屬性化組件。Discovers attributed parts in the assemblies in a specified directory.

ExportProvider

擷取符合指定之 ImportDefinition 物件的匯出。Retrieves exports which match a specified ImportDefinition object.

ExportsChangeEventArgs

提供 ExportsChangingExportsChanged 事件的資料。Provides data for the ExportsChanging and ExportsChanged event.

FilteredCatalog

表示套用篩選函式後的目錄。Represents a catalog after a filter function is applied to it.

ImportEngine

執行容器的撰寫。Performs composition for containers.

ScopingExtensions

定義用來設定範圍的靜態簡便方法。Defines static convenience methods for scoping.

TypeCatalog

探索型別集合中的屬性化組件。Discovers attributed parts from a collection of types.

介面

INotifyComposablePartCatalogChanged

ComposablePartCatalog 變更時提供通知。Provides notifications when a ComposablePartCatalog changes.

列舉

CompositionOptions

定義匯出提供者的選項。Defines options for export providers.