ExportBuilder.AsContractType<T> Method ()

.NET Framework (current version)
 

Specifies that the export should use the given contract type.

Namespace:   System.ComponentModel.Composition.Registration
Assembly:  System.ComponentModel.Composition.Registration (in System.ComponentModel.Composition.Registration.dll)

public ExportBuilder AsContractType<T>()

Return Value

Type: System.ComponentModel.Composition.Registration.ExportBuilder

The current object, to allow chaining.

Type Parameters

T

The type of contract to use.

.NET Framework
Available since 4.5
Return to top
Show: