RegistrationExtensions Class |
Extension methods that add MEF hosting capabilities to the container building classes.
Inheritance Hierarchy
Namespace:
Autofac.Integration.Mef
Assembly:
Autofac.Integration.Mef (in Autofac.Integration.Mef.dll) Version: 6.0.0+4280ac7e7f34f8dcbf61bbdf820a070216e453fc
Syntax public static class RegistrationExtensions
<ExtensionAttribute>
Public NotInheritable Class RegistrationExtensions
The RegistrationExtensions type exposes the following members.
Methods
| Name | Description |
---|
| ExportedTLimit, TActivatorData, TSingleRegistrationStyle |
Expose the registered service to MEF parts as an export.
|
| RegisterComposablePartCatalog(ContainerBuilder, ComposablePartCatalog) |
Register a MEF catalog.
|
| RegisterComposablePartCatalog(ContainerBuilder, ComposablePartCatalog, Service) |
Register a MEF catalog.
|
| RegisterComposablePartCatalog(ContainerBuilder, ComposablePartCatalog, FuncExportDefinition, IEnumerableService) |
Register a MEF catalog.
|
| RegisterComposablePartDefinition |
Register a MEF part definition.
|
| RegisterComposablePartType(ContainerBuilder, Type) |
Register a MEF-attributed type as a component.
|
| RegisterComposablePartType(ContainerBuilder, Type, FuncExportDefinition, IEnumerableService) |
Register a MEF-attributed type as a component.
|
| RegisterMetadataRegistrationSources |
Registers the LazyWithMetadataRegistrationSource and
StronglyTypedMetadataRegistrationSource registration sources.
|
| ResolveExportsT(IComponentContext) |
Locate all of the MEF exports registered as supplying contract type T.
|
| ResolveExportsT(IComponentContext, String) |
Locate all of the MEF exports registered as supplying contract type T.
|
TopSee Also