Table of Contents

Method RegisterComposablePartType

Namespace
Autofac.Integration.Mef
Assembly
Autofac.Integration.Mef.dll

RegisterComposablePartType(ContainerBuilder, Type)

public static void RegisterComposablePartType(this ContainerBuilder builder, Type partType)

Parameters

builder ContainerBuilder
partType Type

RegisterComposablePartType(ContainerBuilder, Type, Func<ExportDefinition, IEnumerable<Service>>)

public static void RegisterComposablePartType(this ContainerBuilder builder, Type partType, Func<ExportDefinition, IEnumerable<Service>> exposedServicesMapper)

Parameters

builder ContainerBuilder
partType Type
exposedServicesMapper Func<ExportDefinition, IEnumerable<Service>>