Show / Hide Table of Contents

Class ExportAdapter<T>

A handle allowing the graph of parts associated with an exported instance to be released.

Inheritance
System.Object
ExportAdapter<T>
ExportAdapter<T, TMetadata>
Implements
IExport<T>
IExport
System.IDisposable
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> : IExport<T>, IExport, IDisposable
Type Parameters
Name Description
T

The export type.

Constructors

| Improve this Doc View Source

ExportAdapter(Export<T>)

Initializes a new instance of the ExportAdapter<T> class.

Declaration
protected ExportAdapter(Export<T> innerExport)
Parameters
Type Name Description
System.Composition.Export<T> innerExport

The inner export.

Properties

| Improve this Doc View Source

Value

Gets the exported value.

Declaration
public T Value { get; }
Property Value
Type Description
T

Methods

| Improve this Doc View Source

Dispose()

Release the parts associated with the exported value.

Declaration
public void Dispose()
| Improve this Doc View Source

ToString()

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
System.Object.ToString()

Explicit Interface Implementations

| Improve this Doc View Source

IExport.Value

Gets the exported value.

Declaration
object IExport.Value { get; }
Returns
Type Description
System.Object

The exported value.

Implements

IExport<T>
IExport
System.IDisposable

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>)
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