İngilizce dilinde oku Düzenle

Aracılığıyla paylaş


PartBuilder.Export Method

Definition

Specifies that matching types should be exported.

Overloads

Export()

Specifies that matching types should be exported.

Export(Action<ExportBuilder>)

Specifies that matching types should be exported, and provides configuration information for the resulting exports.

Export<T>()

Specifies that matching types should be exported by using the specified contract type.

Export<T>(Action<ExportBuilder>)

Specifies that matching types should be exported by using the specified contract type, and provides configuration information for the resulting exports.

Export()

Source:
PartBuilder.cs
Source:
PartBuilder.cs

Specifies that matching types should be exported.

public System.ComponentModel.Composition.Registration.PartBuilder Export ();

Returns

The current object, to allow chaining.

Applies to

.NET 9 (package-provided) ve diğer sürümler
Ürün Sürümler
.NET 6 (package-provided), 7 (package-provided), 8 (package-provided), 9 (package-provided)
.NET Framework 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7 (package-provided), 4.7, 4.7.1 (package-provided), 4.7.1, 4.7.2 (package-provided), 4.7.2, 4.8 (package-provided), 4.8, 4.8.1
.NET Standard 2.1 (package-provided)

Export(Action<ExportBuilder>)

Source:
PartBuilder.cs
Source:
PartBuilder.cs

Specifies that matching types should be exported, and provides configuration information for the resulting exports.

public System.ComponentModel.Composition.Registration.PartBuilder Export (Action<System.ComponentModel.Composition.Registration.ExportBuilder> exportConfiguration);

Parameters

exportConfiguration
Action<ExportBuilder>

An object that contains configuration information about the export. The default value is null.

Returns

The current object, to allow chaining.

Applies to

.NET 9 (package-provided) ve diğer sürümler
Ürün Sürümler
.NET 6 (package-provided), 7 (package-provided), 8 (package-provided), 9 (package-provided)
.NET Framework 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7 (package-provided), 4.7, 4.7.1 (package-provided), 4.7.1, 4.7.2 (package-provided), 4.7.2, 4.8 (package-provided), 4.8, 4.8.1
.NET Standard 2.1 (package-provided)

Export<T>()

Source:
PartBuilder.cs
Source:
PartBuilder.cs

Specifies that matching types should be exported by using the specified contract type.

public System.ComponentModel.Composition.Registration.PartBuilder Export<T> ();

Type Parameters

T

The type of contract.

Returns

The current object, to allow chaining.

Applies to

.NET 9 (package-provided) ve diğer sürümler
Ürün Sürümler
.NET 6 (package-provided), 7 (package-provided), 8 (package-provided), 9 (package-provided)
.NET Framework 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7 (package-provided), 4.7, 4.7.1 (package-provided), 4.7.1, 4.7.2 (package-provided), 4.7.2, 4.8 (package-provided), 4.8, 4.8.1
.NET Standard 2.1 (package-provided)

Export<T>(Action<ExportBuilder>)

Source:
PartBuilder.cs
Source:
PartBuilder.cs

Specifies that matching types should be exported by using the specified contract type, and provides configuration information for the resulting exports.

public System.ComponentModel.Composition.Registration.PartBuilder Export<T> (Action<System.ComponentModel.Composition.Registration.ExportBuilder> exportConfiguration);

Type Parameters

T

The type of contract.

Parameters

exportConfiguration
Action<ExportBuilder>

An object that contains configuration information about the export. The default value is null.

Returns

The current object, to allow chaining.

Applies to

.NET 9 (package-provided) ve diğer sürümler
Ürün Sürümler
.NET 6 (package-provided), 7 (package-provided), 8 (package-provided), 9 (package-provided)
.NET Framework 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7 (package-provided), 4.7, 4.7.1 (package-provided), 4.7.1, 4.7.2 (package-provided), 4.7.2, 4.8 (package-provided), 4.8, 4.8.1
.NET Standard 2.1 (package-provided)