Interface IExportFactory<T, TMetadata>
A contract for an export factory that provides metadata describing the created exports.
Namespace: Kephas.Composition
Assembly: Kephas.Core.dll
Syntax
public interface IExportFactory<out T, out TMetadata> : IExportFactory<T>, IExportFactory
Type Parameters
Name | Description |
---|---|
T | The contract type being created. |
TMetadata | The metadata required from the export. |
Properties
| Improve this Doc View SourceMetadata
Gets the metadata associated with the export.
Declaration
TMetadata Metadata { get; }
Property Value
Type | Description |
---|---|
TMetadata | The metadata associated with the export. |
Methods
| Improve this Doc View SourceCreateExport()
Create an instance of the exported part.
Declaration
IExport<T, TMetadata> CreateExport()
Returns
Type | Description |
---|---|
IExport<T, TMetadata> | A handle allowing the created part to be accessed then released. |