IComponentModel Interface
Provides access to the default MEF composition container and the Visual Studio catalogs .
Namespace: Microsoft.VisualStudio.ComponentModelHost
Assembly: Microsoft.VisualStudio.ComponentModelHost (in Microsoft.VisualStudio.ComponentModelHost.dll)
Syntax
'Declaration
Public Interface IComponentModel
public interface IComponentModel
public interface class IComponentModel
type IComponentModel = interface end
public interface IComponentModel
The IComponentModel type exposes the following members.
Properties
Name | Description | |
---|---|---|
DefaultCatalog | ||
DefaultCompositionService | Gets the composition service of the default composition container that allows satisfying imports of an object that are not part of the container. | |
DefaultExportProvider | Gets the export provider of the default Visual Studio composition container. |
Top
Methods
Name | Description | |
---|---|---|
GetCatalog | Provides access to a MEF catalog by name. | |
GetExtensions<T> | Gets an enumeration of extensions from the default composition container | |
GetService<T> | Gets a "service" from the default composition container, i.e. an object of which there can only a single instance exist in a given composition container. |
Top