Share via


ExtensionRegistrarBase<T,TMetadataView>.CanImport Method

Definition

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

protected:
 virtual bool CanImport(Lazy<T, TMetadataView> ^ lazyImport);
protected virtual bool CanImport (Lazy<T,TMetadataView> lazyImport);
abstract member CanImport : Lazy<'T, 'MetadataView> -> bool
override this.CanImport : Lazy<'T, 'MetadataView> -> bool
Protected Overridable Function CanImport (lazyImport As Lazy(Of T, TMetadataView)) As Boolean

Parameters

lazyImport
Lazy<T,TMetadataView>

Returns

Applies to