Click or drag to resize

RegistrationExtensions Class

Extension methods that add MEF hosting capabilities to the container building classes.
Inheritance Hierarchy
System.Object
  Autofac.Integration.Mef.RegistrationExtensions

Namespace:  Autofac.Integration.Mef
Assembly:  Autofac.Integration.Mef (in Autofac.Integration.Mef.dll) Version: 6.0.0+4280ac7e7f34f8dcbf61bbdf820a070216e453fc
Syntax
public static class RegistrationExtensions

The RegistrationExtensions type exposes the following members.

Methods
  NameDescription
Public methodStatic memberExported<TLimit, TActivatorData, TSingleRegistrationStyle>
Expose the registered service to MEF parts as an export.
Public methodStatic memberRegisterComposablePartCatalog(ContainerBuilder, ComposablePartCatalog)
Register a MEF catalog.
Public methodStatic memberRegisterComposablePartCatalog(ContainerBuilder, ComposablePartCatalog,Service[])
Register a MEF catalog.
Public methodStatic memberRegisterComposablePartCatalog(ContainerBuilder, ComposablePartCatalog, Func<ExportDefinition, IEnumerable<Service>>)
Register a MEF catalog.
Public methodStatic memberRegisterComposablePartDefinition
Register a MEF part definition.
Public methodStatic memberRegisterComposablePartType(ContainerBuilder, Type)
Register a MEF-attributed type as a component.
Public methodStatic memberRegisterComposablePartType(ContainerBuilder, Type, Func<ExportDefinition, IEnumerable<Service>>)
Register a MEF-attributed type as a component.
Public methodStatic memberRegisterMetadataRegistrationSources
Registers the LazyWithMetadataRegistrationSource and StronglyTypedMetadataRegistrationSource registration sources.
Public methodStatic memberResolveExports<T>(IComponentContext)
Locate all of the MEF exports registered as supplying contract type T.
Public methodStatic memberResolveExports<T>(IComponentContext, String)
Locate all of the MEF exports registered as supplying contract type T.
Top
See Also