Share via


ExtensionRegistrarBase<T,TMetadataView> Class

Definition

The base class for regular extension registrar and special case for validation registrar

generic <typename T, typename TMetadataView>
public ref class ExtensionRegistrarBase abstract
public abstract class ExtensionRegistrarBase<T,TMetadataView>
type ExtensionRegistrarBase<'T, 'MetadataView> = class
Public MustInherit Class ExtensionRegistrarBase(Of T, TMetadataView)

Type Parameters

T
TMetadataView
Inheritance
ExtensionRegistrarBase<T,TMetadataView>
Derived

Constructors

ExtensionRegistrarBase<T,TMetadataView>()

Properties

FilteredImports
LazyImports

List of lazy imports after filtering was applied.

Logger

Used to log exceptions/errors encountered by the registrar object.

UnfilteredLazyImports

List of MEF-imported T.

Methods

CanImport(Lazy<T,TMetadataView>)

Determines if for a particular Lazy Import, the underlying exported object should be imported or not. The default implementation allows all imports.

Compare(Tuple<T,TMetadataView>, Tuple<T,TMetadataView>)

Compares two imported objects of the same type.

Applies to