CatalogExtensions::CreateCompositionService Method (ComposablePartCatalog^)

.NET Framework (current version)
 

Creates a new composition service by using the specified catalog as a source for exports.

Namespace:   System.ComponentModel.Composition.Hosting
Assembly:  System.ComponentModel.Composition (in System.ComponentModel.Composition.dll)

public:
[ExtensionAttribute]
static CompositionService^ CreateCompositionService(
	ComposablePartCatalog^ composablePartCatalog
)

Parameters

composablePartCatalog
Type: System.ComponentModel.Composition.Primitives::ComposablePartCatalog^

The catalog that will provide exports.

Return Value

Type: System.ComponentModel.Composition.Hosting::CompositionService^

A new composition service.

.NET Framework
Available since 4.5
Return to top
Show: