ReflectionModelServices.IsExportFactoryImportDefinition Method

Definition

Indicates whether a specified import definition represents an export factory (ExportFactory<T> or ExportFactory<T,TMetadata> object).

public:
 static bool IsExportFactoryImportDefinition(System::ComponentModel::Composition::Primitives::ImportDefinition ^ importDefinition);
public static bool IsExportFactoryImportDefinition (System.ComponentModel.Composition.Primitives.ImportDefinition importDefinition);
static member IsExportFactoryImportDefinition : System.ComponentModel.Composition.Primitives.ImportDefinition -> bool
Public Shared Function IsExportFactoryImportDefinition (importDefinition As ImportDefinition) As Boolean

Parameters

importDefinition
ImportDefinition

The import definition to check.

Returns

true if the specified import definition represents an export factory; otherwise, false.

Applies to