Class ExportAdapter<T, TMetadata>
A handle allowing the graph of parts associated with an exported instance to be released.
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)
Namespace: Kephas.Composition.Mef
Assembly: Kephas.Composition.Mef.dll
Syntax
public class ExportAdapter<T, TMetadata> : ExportAdapter<T>, IExport<T, TMetadata>, IExport<T>, IExport, IDisposable
Type Parameters
Name | Description |
---|---|
T | The export type. |
TMetadata | Type of the metadata. |
Constructors
| Improve this Doc View SourceExportAdapter(Export<T>, TMetadata)
Initializes a new instance of the ExportAdapter<T, TMetadata> class.
Declaration
protected ExportAdapter(Export<T> innerExport, TMetadata metadata)
Parameters
Type | Name | Description |
---|---|---|
System.Composition.Export<T> | innerExport | The inner export. |
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. |
Methods
| Improve this Doc View SourceToString()
Returns a string that represents the current object.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String | A string that represents the current object. |
Overrides
Kephas.Composition.Mef.ExportAdapter<T>.ToString()
Implements
System.IDisposable