ExtensionRegistrar<T,TMetadataView> Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Lazy Mef Importer class that :
- Imports parts that export the type T.
- Ability to provide a filter.
generic <typename T, typename TMetadataView>
public ref class ExtensionRegistrar abstract : Microsoft::VisualStudio::Modeling::ExtensionEnablement::ExtensionRegistrarBase<T, TMetadataView>
public abstract class ExtensionRegistrar<T,TMetadataView> : Microsoft.VisualStudio.Modeling.ExtensionEnablement.ExtensionRegistrarBase<T,TMetadataView>
type ExtensionRegistrar<'T, 'MetadataView> = class
inherit ExtensionRegistrarBase<'T, 'MetadataView>
Public MustInherit Class ExtensionRegistrar(Of T, TMetadataView)
Inherits ExtensionRegistrarBase(Of T, TMetadataView)
Type Parameters
- T
- TMetadataView
- Inheritance
- Derived
Constructors
ExtensionRegistrar<T,TMetadataView>() |
Properties
FilteredImports | (Inherited from ExtensionRegistrarBase<T,TMetadataView>) |
LazyImports |
List of lazy imports after filtering was applied. (Inherited from ExtensionRegistrarBase<T,TMetadataView>) |
Logger |
Used to log exceptions/errors encountered by the registrar object. (Inherited from ExtensionRegistrarBase<T,TMetadataView>) |
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. (Inherited from ExtensionRegistrarBase<T,TMetadataView>) |
Compare(Tuple<T,TMetadataView>, Tuple<T,TMetadataView>) |
Compares two imported objects of the same type. (Inherited from ExtensionRegistrarBase<T,TMetadataView>) |