Interface IExportFactory<T>
Contract used to import parts that wish to dynamically create instances of other parts.
Namespace: Kephas.Composition
Assembly: Kephas.Core.dll
Syntax
public interface IExportFactory<out T> : IExportFactory
Type Parameters
Name | Description |
---|---|
T | The contract type of the created parts. |
Methods
| Improve this Doc View SourceCreateExport()
Create an instance of the exported part.
Declaration
IExport<T> CreateExport()
Returns
Type | Description |
---|---|
IExport<T> | A handle allowing the created part to be accessed then released. |