Class AutofacExportFactory<TService, TMetadata>
An Autofac export factory.
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Kephas.Composition.Autofac
Assembly: Kephas.Composition.Autofac.dll
Syntax
public class AutofacExportFactory<TService, TMetadata> : AutofacExportFactory<TService>, IExportFactory<TService, TMetadata>, IExportFactory<TService>, IExportFactory
Type Parameters
Name | Description |
---|---|
TService | Type of the service. |
TMetadata | Type of the metadata. |
Constructors
| Improve this Doc View SourceAutofacExportFactory(Lazy<TService>)
Declaration
public AutofacExportFactory(Lazy<TService> servicePromise)
Parameters
Type | Name | Description |
---|---|---|
System.Lazy<TService> | servicePromise |
Properties
| Improve this Doc View SourceMetadata
Declaration
public TMetadata Metadata { get; }
Property Value
Type | Description |
---|---|
TMetadata |
Methods
| Improve this Doc View SourceCreateExport()
Declaration
public IExport<TService, TMetadata> CreateExport()
Returns
Type | Description |
---|---|
IExport<TService, TMetadata> |