ExportBuilder Class

.NET Framework (current version)
 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Represents configuration information for a rule-based export.

Namespace:   System.ComponentModel.Composition.Registration
Assembly:  System.ComponentModel.Composition.Registration (in System.ComponentModel.Composition.Registration.dll)

System.Object
  System.ComponentModel.Composition.Registration.ExportBuilder

public sealed class ExportBuilder

NameDescription
System_CAPS_pubmethodExportBuilder()

Initializes a new instance of the ExportBuilder class.

NameDescription
System_CAPS_pubmethodAddMetadata(String, Func<Type, Object>)

Specifies a metadata key/value pair to be added to the export.

System_CAPS_pubmethodAddMetadata(String, Object)

Specifies a metadata key/value pair to be added to the export.

System_CAPS_pubmethodAsContractName(String)

Specifies that the export should be under the given contract name.

System_CAPS_pubmethodAsContractType(Type)

Specifies that the export should use the given contract type.

System_CAPS_pubmethodAsContractType<T>()

Specifies that the export should use the given contract type.

System_CAPS_pubmethodEquals(Object)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_pubmethodInherited()

Specifies that this export should be inherited.

System_CAPS_pubmethodToString()

Returns a string that represents the current object.(Inherited from Object.)

.NET Framework
Available since 4.5

Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: