IComponentModel2 Interface

 

Provides the ability to access the default MEF composition container and catalogs of Visual Studio.

Namespace:   Microsoft.VisualStudio.ComponentModelHost
Assembly:  Microsoft.VisualStudio.ComponentModelHost (in Microsoft.VisualStudio.ComponentModelHost.dll)

public interface IComponentModel2 : IComponentModel

NameDescription
System_CAPS_pubpropertyDefaultCatalog

Gets the default catalog.(Inherited from IComponentModel.)

System_CAPS_pubpropertyDefaultCompositionService

Gets the composition service of the Visual Studio default composition container that allows satisfying imports of objects that are not a part of the container.(Inherited from IComponentModel.)

System_CAPS_pubpropertyDefaultExportProvider

Gets the export provider of the default composition container of Visual Studio.(Inherited from IComponentModel.)

System_CAPS_pubpropertyDefaultScopedCatalog

Gets the default scoped Visual Studio catalog.

NameDescription
System_CAPS_pubmethodGetCatalog(String)

Provides access to a MEF catalog by name.(Inherited from IComponentModel.)

System_CAPS_pubmethodGetExtensions<T>()

Gets an enumeration of extensions from the default composition container, that is, objects (of which there can multiple instances) that exist in a given composition container. This is the same as calling GetExportedValues<T> directly.(Inherited from IComponentModel.)

System_CAPS_pubmethodGetService<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. This is the same as calling GetExportedValue<T> directly.(Inherited from IComponentModel.)

Return to top
Show: