ImportEngine 构造函数

定义

初始化 ImportEngine 类的新实例。

重载

ImportEngine(ExportProvider)

初始化 ImportEngine 类的新实例。

ImportEngine(ExportProvider, Boolean)

初始化 ImportEngine 类的新实例,可以选择是否使用线程安全模式。

ImportEngine(ExportProvider, CompositionOptions)

使用指定的选项初始化 ImportEngine 类的新实例。

ImportEngine(ExportProvider)

Source:
ImportEngine.cs
Source:
ImportEngine.cs
Source:
ImportEngine.cs

初始化 ImportEngine 类的新实例。

public:
 ImportEngine(System::ComponentModel::Composition::Hosting::ExportProvider ^ sourceProvider);
public ImportEngine (System.ComponentModel.Composition.Hosting.ExportProvider sourceProvider);
new System.ComponentModel.Composition.Hosting.ImportEngine : System.ComponentModel.Composition.Hosting.ExportProvider -> System.ComponentModel.Composition.Hosting.ImportEngine
Public Sub New (sourceProvider As ExportProvider)

参数

sourceProvider
ExportProvider

提供对 ExportProvider 对象的 ImportEngine 访问的 Export

适用于

ImportEngine(ExportProvider, Boolean)

Source:
ImportEngine.cs
Source:
ImportEngine.cs
Source:
ImportEngine.cs

初始化 ImportEngine 类的新实例,可以选择是否使用线程安全模式。

public:
 ImportEngine(System::ComponentModel::Composition::Hosting::ExportProvider ^ sourceProvider, bool isThreadSafe);
public ImportEngine (System.ComponentModel.Composition.Hosting.ExportProvider sourceProvider, bool isThreadSafe);
new System.ComponentModel.Composition.Hosting.ImportEngine : System.ComponentModel.Composition.Hosting.ExportProvider * bool -> System.ComponentModel.Composition.Hosting.ImportEngine
Public Sub New (sourceProvider As ExportProvider, isThreadSafe As Boolean)

参数

sourceProvider
ExportProvider

提供对 ExportProvider 对象的 ImportEngine 访问的 Export

isThreadSafe
Boolean

如果线程安全是必需的,则为 true;否则为 false

适用于

ImportEngine(ExportProvider, CompositionOptions)

Source:
ImportEngine.cs
Source:
ImportEngine.cs
Source:
ImportEngine.cs

使用指定的选项初始化 ImportEngine 类的新实例。

public:
 ImportEngine(System::ComponentModel::Composition::Hosting::ExportProvider ^ sourceProvider, System::ComponentModel::Composition::Hosting::CompositionOptions compositionOptions);
public ImportEngine (System.ComponentModel.Composition.Hosting.ExportProvider sourceProvider, System.ComponentModel.Composition.Hosting.CompositionOptions compositionOptions);
new System.ComponentModel.Composition.Hosting.ImportEngine : System.ComponentModel.Composition.Hosting.ExportProvider * System.ComponentModel.Composition.Hosting.CompositionOptions -> System.ComponentModel.Composition.Hosting.ImportEngine
Public Sub New (sourceProvider As ExportProvider, compositionOptions As CompositionOptions)

参数

sourceProvider
ExportProvider

提供对 ExportProvider 对象的 ImportEngine 访问的 Export

compositionOptions
CompositionOptions

指定影响引擎行为的选项的对象。

适用于