Show / Hide Table of Contents

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 Source

CreateExport()

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.

Extension Methods

DynamicObjectExtensions.SetPropertyValue(Object, String, Object)
DynamicObjectExtensions.TrySetPropertyValue(Object, String, Object)
DynamicObjectExtensions.GetPropertyValue(Object, String)
DynamicObjectExtensions.TryGetPropertyValue(Object, String, out Object)
DynamicObjectExtensions.GetRuntimeTypeInfo(Object)
DynamicObjectExtensions.ToDynamic(Object)
DynamicObjectExtensions.ToExpando(Object)
BehaviorValue.ToBehaviorValue<TValue>(TValue)
CollectionExtensions.AddRange<T, TItem>(T, IEnumerable<TItem>)
ExportFactoryExtensions.CreateExportedValue<T>(IExportFactory<T>)
ExportFactoryExtensions.CreateInitializedValue<T>(IExportFactory<T>, IContext)
ExportFactoryExtensions.CreateInitializedValueAsync<T>(IExportFactory<T>, IContext, CancellationToken)
LoggingExtensions.GetLogger(Object, IContext)
TypeExtensions.GetAbstractType(Object)
TypeExtensions.GetAbstractTypeInfo(Object)
ReflectionHelper.GetTypeInfo(Object)
EntityEntryExtensions.TryGetAttachedEntityEntry(Object)
  • Improve this Doc
  • View Source
Back to top Generated by DocFX