Lire en anglais Modifier

Partager via


ImportEngine Constructors

Definition

Initializes a new instance of the ImportEngine class.

Overloads

ImportEngine(ExportProvider)

Initializes a new instance of the ImportEngine class.

ImportEngine(ExportProvider, Boolean)

Initializes a new instance of the ImportEngine class, optionally in thread-safe mode.

ImportEngine(ExportProvider, CompositionOptions)

Initializes a new instance of the ImportEngine class with the specified options.

ImportEngine(ExportProvider)

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

Initializes a new instance of the ImportEngine class.

C#
public ImportEngine(System.ComponentModel.Composition.Hosting.ExportProvider sourceProvider);

Parameters

sourceProvider
ExportProvider

The ExportProvider that provides the ImportEngine access to Export objects.

Applies to

.NET 10 (package-provided) et autres versions
Produit Versions
.NET 8 (package-provided), 9 (package-provided), 10 (package-provided)
.NET Framework 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
.NET Standard 2.0 (package-provided)

ImportEngine(ExportProvider, Boolean)

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

Initializes a new instance of the ImportEngine class, optionally in thread-safe mode.

C#
public ImportEngine(System.ComponentModel.Composition.Hosting.ExportProvider sourceProvider, bool isThreadSafe);

Parameters

sourceProvider
ExportProvider

The ExportProvider that provides the ImportEngine access to Export objects.

isThreadSafe
Boolean

true if thread safety is required; otherwise, false.

Applies to

.NET 10 (package-provided) et autres versions
Produit Versions
.NET 8 (package-provided), 9 (package-provided), 10 (package-provided)
.NET Framework 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
.NET Standard 2.0 (package-provided)

ImportEngine(ExportProvider, CompositionOptions)

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

Initializes a new instance of the ImportEngine class with the specified options.

C#
public ImportEngine(System.ComponentModel.Composition.Hosting.ExportProvider sourceProvider, System.ComponentModel.Composition.Hosting.CompositionOptions compositionOptions);

Parameters

sourceProvider
ExportProvider

The ExportProvider that provides the ImportEngine access to Export objects.

compositionOptions
CompositionOptions

An object that specifies options that affect the behavior of the engine.

Applies to

.NET 10 (package-provided) et autres versions
Produit Versions
.NET 8 (package-provided), 9 (package-provided), 10 (package-provided)
.NET Framework 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
.NET Standard 2.0 (package-provided)