Show / Hide Table of Contents

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 Source

Metadata

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 Source

CreateExport()

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.

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