IComponentModel IComponentModel IComponentModel IComponentModel IComponentModel IComponentModel Interface

Definition

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

public interface class IComponentModel
public interface class IComponentModel
__interface IComponentModel
public interface IComponentModel
type IComponentModel = interface
Public Interface IComponentModel
Derived

Properties

DefaultCatalog DefaultCatalog DefaultCatalog DefaultCatalog DefaultCatalog DefaultCatalog

Gets the default catalog.

DefaultCompositionService DefaultCompositionService DefaultCompositionService DefaultCompositionService DefaultCompositionService DefaultCompositionService

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.

DefaultExportProvider DefaultExportProvider DefaultExportProvider DefaultExportProvider DefaultExportProvider DefaultExportProvider

Gets the export provider of the default composition container of Visual Studio.

Methods

GetCatalog(String) GetCatalog(String) GetCatalog(String) GetCatalog(String) GetCatalog(String) GetCatalog(String)

Provides access to a MEF catalog by name.

GetExtensions<T>() GetExtensions<T>() GetExtensions<T>() GetExtensions<T>() GetExtensions<T>() GetExtensions<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.

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

Applies to