ExportProvider.IsFullyInitializedExportRequiredWhenSettingImport Method
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.
Gets a value indicating whether an import with the given characteristics must be initially satisfied with a fully pre-initialized export.
protected static bool IsFullyInitializedExportRequiredWhenSettingImport (Microsoft.VisualStudio.Composition.ExportProvider.PartLifecycleTracker importingPartTracker, bool isLazy, bool isImportingConstructorArgument);
static member IsFullyInitializedExportRequiredWhenSettingImport : Microsoft.VisualStudio.Composition.ExportProvider.PartLifecycleTracker * bool * bool -> bool
Protected Shared Function IsFullyInitializedExportRequiredWhenSettingImport (importingPartTracker As ExportProvider.PartLifecycleTracker, isLazy As Boolean, isImportingConstructorArgument As Boolean) As Boolean
Parameters
- importingPartTracker
- ExportProvider.PartLifecycleTracker
The tracker for the part that is importing.
- isLazy
- Boolean
true
if the import is a Lazy{T} style import; false
otherwise.
- isImportingConstructorArgument
- Boolean
true
if the import appears in an importing constructor; false
otherwise.
Returns
true
if the export must have its imports transitively satisfied and OnImportsSatisfied methods invoked
prior to being exposed to the receiver; false
if the export can be partially initialized when the receiver
first observes it.