The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
ContainerConfiguration::WithAssemblies Method (IEnumerable<Assembly^>^, AttributedModelProvider^)
.NET Framework (current version)
Adds part types from the specified collection of assemblies to the container, using the specified conventions.
Assembly: System.Composition.TypedParts (in System.Composition.TypedParts.dll)
public:
ContainerConfiguration^ WithAssemblies(
IEnumerable<Assembly^>^ assemblies,
AttributedModelProvider^ conventions
)
Parameters
- assemblies
-
Type:
System.Collections.Generic::IEnumerable<Assembly^>^
The assemblies to add part types from.
- conventions
-
Type:
System.Composition.Convention::AttributedModelProvider^
Conventions to use for part types.
Return Value
Type: System.Composition.Hosting::ContainerConfiguration^An object that provides further configuration.
Show: