Click or drag to resize

ExportProviderAdapter Class

An IExportProvider adapter for the Microsoft.Extensions.DependencyInjection ServiceCollection
Inheritance Hierarchy
SystemObject
  TomsToolbox.Composition.MicrosoftExtensionsExportProviderAdapter

Namespace: TomsToolbox.Composition.MicrosoftExtensions
Assembly: TomsToolbox.Composition.MicrosoftExtensions (in TomsToolbox.Composition.MicrosoftExtensions.dll) Version: 2.20.0+81722655bc5ac69e82709ab0d5f512a9f7e83ea5
XMLNS for XAML: Not mapped to an xmlns.
Syntax
public sealed class ExportProviderAdapter : IExportProvider

The ExportProviderAdapter type exposes the following members.

Constructors
 NameDescription
Public methodExportProviderAdapter Initializes a new instance of the ExportProviderAdapter class.
Top
Properties
 NameDescription
Public propertyServiceProvider Gets the adapted service provider.
Top
Events
 NameDescription
Public eventExportsChanged Occurs when the exports in the IExportProvider change. Not supported by all implementations.
Top
Extension Methods
 NameDescription
Public Extension MethodGetExportsTMetadataView Gets the exports for the specified parameters.
(Defined by ExtensionMethods)
Public Extension MethodGetExportsTMetadataView Gets the exports for the specified parameters.
(Defined by ExtensionMethods)
Public Extension MethodSafeCastT Performs a cast from object to T, avoiding possible null violations if T is a value type.
(Defined by ObjectExtensions)
Public Extension MethodTryGetExportedValueT Tries to the get exported value.
(Defined by ExtensionMethods)
Top
See Also