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
Syntaxpublic static class RegistrationExtensions
<ExtensionAttribute>
Public NotInheritable Class RegistrationExtensions
The RegistrationExtensions type exposes the following members.
Methods
| Name | Description |
---|
  | Exported<TLimit, 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, Func<ExportDefinition, IEnumerable<Service>>) |
Register a MEF catalog.
|
  | RegisterComposablePartDefinition |
Register a MEF part definition.
|
  | RegisterComposablePartType(ContainerBuilder, Type) |
Register a MEF-attributed type as a component.
|
  | RegisterComposablePartType(ContainerBuilder, Type, Func<ExportDefinition, IEnumerable<Service>>) |
Register a MEF-attributed type as a component.
|
  | RegisterMetadataRegistrationSources |
Registers the LazyWithMetadataRegistrationSource and
StronglyTypedMetadataRegistrationSource registration sources.
|
  | ResolveExports<T>(IComponentContext) |
Locate all of the MEF exports registered as supplying contract type T.
|
  | ResolveExports<T>(IComponentContext, String) |
Locate all of the MEF exports registered as supplying contract type T.
|
Top
See Also