Class Export<TService>
An export.
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> : IExport<TService>, IExport, IDisposable
Type Parameters
Name | Description |
---|---|
TService | Type of the service. |
Constructors
| Improve this Doc View SourceExport(Func<Tuple<TService, Action>>)
Initializes a new instance of the Export<TService> class.
Declaration
public Export(Func<Tuple<TService, Action>> factory)
Parameters
Type | Name | Description |
---|---|---|
System.Func<System.Tuple<TService, System.Action>> | factory | The factory. |
Properties
| Improve this Doc View SourceValue
Gets the value.
Declaration
public TService Value { get; }
Property Value
Type | Description |
---|---|
TService |
Methods
| Improve this Doc View SourceDispose()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
Declaration
public virtual void Dispose()
Explicit Interface Implementations
| Improve this Doc View SourceIExport.Value
Gets the exported value.
Declaration
object IExport.Value { get; }
Returns
Type | Description |
---|---|
System.Object | The exported value. |
Implements
System.IDisposable