Share via


NetFxAdapters.WithCompositionService(ComposableCatalog) Method

Definition

Creates a catalog that exports an instance of ICompositionService.

public static Microsoft.VisualStudio.Composition.ComposableCatalog WithCompositionService (this Microsoft.VisualStudio.Composition.ComposableCatalog catalog);
static member WithCompositionService : Microsoft.VisualStudio.Composition.ComposableCatalog -> Microsoft.VisualStudio.Composition.ComposableCatalog
<Extension()>
Public Function WithCompositionService (catalog As ComposableCatalog) As ComposableCatalog

Parameters

catalog
ComposableCatalog

The catalog to add the export to.

Returns

A catalog that includes ICompositionService.

Applies to