CatalogExtensions.CreateCompositionService Method (ComposablePartCatalog)

.NET Framework (current version)
 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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)

static member CreateCompositionService : 
        composablePartCatalog:ComposablePartCatalog -> CompositionService

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: