ImportBuilder Class

.NET Framework (current version)
 

Represents configuration information for a rule-based import.

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

System.Object
  System.ComponentModel.Composition.Registration.ImportBuilder

public sealed class ImportBuilder

NameDescription
System_CAPS_pubmethodImportBuilder()

Initializes a new instance of the ImportBuilder class.

NameDescription
System_CAPS_pubmethodAllowDefault()

Specifies that the import should allow a default value.

System_CAPS_pubmethodAllowRecomposition()

Specifies that the import should be recomposable.

System_CAPS_pubmethodAsContractName(String)

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

System_CAPS_pubmethodAsContractType(Type)

Specifies that the import should use the given contract type.

System_CAPS_pubmethodAsContractType<T>()

Specifies that the import should use the given contract type.

System_CAPS_pubmethodAsMany(Boolean)

Specifies the import's cardinality.

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_pubmethodRequiredCreationPolicy(CreationPolicy)

Specifies the import's required creation policy.

System_CAPS_pubmethodSource(ImportSource)

Specifies a value that specifies the scopes this import can be satisfied from.

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: