ContainerConfiguration::WithAssembly Method (Assembly^)

.NET Framework (current version)
 

Adds part types from the specified assembly to the container.

Namespace:   System.Composition.Hosting
Assembly:  System.Composition.TypedParts (in System.Composition.TypedParts.dll)

public:
ContainerConfiguration^ WithAssembly(
	Assembly^ assembly
)

Parameters

assembly
Type: System.Reflection::Assembly^

The assembly to add part types from.

Return Value

Type: System.Composition.Hosting::ContainerConfiguration^

An object that provides further configuration.

Return to top
Show: