NetFxAdapters.WithCompositionService(ComposableCatalog) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.