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>

public class ExportFactory<T, TMetadata> : 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: