Windows apps
Collapse the table of content
Expand the table of content
Information
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.

ExportFactory<T, TMetadata> Class

.NET Framework (current version)
 

A factory that creates new instances of a part that provides the specified export, with attached metadata.

Namespace:   System.Composition
Assembly:  System.Composition.Runtime (in System.Composition.Runtime.dll)

System::Object
System.Composition::ExportFactory<T>
System.Composition::ExportFactory<T, TMetadata>

generic<typename T, typename TMetadata>
public ref class ExportFactory : ExportFactory<T>

Type Parameters

T

The type of the created part.

TMetadata

The type of the created part's metadata.

NameDescription
System_CAPS_pubmethodExportFactory<T, TMetadata>(Func<Tuple<T, Action^>^>^, TMetadata)

Initializes a new instance of the ExportFactory<T, TMetadata> class.

NameDescription
System_CAPS_pubpropertyMetadata

Gets the metadata to be attached to the created parts.

NameDescription
System_CAPS_pubmethodCreateExport()

Creates an instance of the factory's export type.(Inherited from ExportFactory<T>.)

System_CAPS_pubmethodEquals(Object^)

(Inherited from Object.)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethodToString()

(Inherited from Object.)

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show:
© 2017 Microsoft