ContainerConfiguration::WithPart<TPart> Method ()

.NET Framework (current version)
 

Adds the specified generic type to the container.

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

public:
generic<typename TPart>
ContainerConfiguration^ WithPart()

Return Value

Type: System.Composition.Hosting::ContainerConfiguration^

An object that provides further configuration.

Type Parameters

TPart

The type to add.

Return to top
Show: