Click or drag to resize

ExportAdapter<T, TMetadataView> Class

Adapter for a delegate implementation of the IExport<T, TMetadata> interface.
Inheritance Hierarchy
System.Object
  TomsToolbox.Composition.ExportAdapter<T, TMetadataView>
    TomsToolbox.Composition.ExportAdapter<T>

Namespace: TomsToolbox.Composition
Assembly: TomsToolbox.Composition (in TomsToolbox.Composition.dll) Version: 2.20.0+44d18b541fc9419ec3c549350a832394661b2a4d
XMLNS for XAML: Not mapped to an xmlns.
Syntax
public class ExportAdapter<T, TMetadataView> : IExport<T, TMetadataView>
where T : class
where TMetadataView : class

Type Parameters

T
TMetadataView

The ExportAdapter<T, TMetadataView> type exposes the following members.

Constructors
 NameDescription
Public methodExportAdapter<T, TMetadataView>Initializes a new instance of the ExportAdapter<T, TMetadataView> class.
Top
Extension Methods
 NameDescription
Public Extension MethodSafeCast<T> Performs a cast from object to T, avoiding possible null violations if T is a value type.
(Defined by ObjectExtensions)
Top
See Also