Class Export<TService, TMetadata>
An export with metadata.
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.ExportFactories
Assembly: Kephas.Core.dll
Syntax
public class Export<TService, TMetadata> : Export<TService>, IExport<TService, TMetadata>, IExport<TService>, IExport, IDisposable
Type Parameters
Name | Description |
---|---|
TService | Type of the service. |
TMetadata | Type of the metadata. |
Constructors
| Improve this Doc View SourceExport(Func<Tuple<TService, Action>>, TMetadata)
Initializes a new instance of the Export<TService, TMetadata> class.
Declaration
public Export(Func<Tuple<TService, Action>> factory, TMetadata metadata)
Parameters
Type | Name | Description |
---|---|---|
System.Func<System.Tuple<TService, System.Action>> | factory | The factory. |
TMetadata | metadata | The metadata. |
Properties
| Improve this Doc View SourceMetadata
Gets the metadata.
Declaration
public TMetadata Metadata { get; }
Property Value
Type | Description |
---|---|
TMetadata | The metadata. |
Implements
System.IDisposable