ImportBuilder Class

Definition

Represents configuration information for a rule-based import.

public ref class ImportBuilder sealed
public sealed class ImportBuilder
type ImportBuilder = class
Public NotInheritable Class ImportBuilder
Inheritance
ImportBuilder

Constructors

ImportBuilder()

Initializes a new instance of the ImportBuilder class.

Methods

AllowDefault()

Specifies that the import should allow a default value.

AllowRecomposition()

Specifies that the import should be recomposable.

AsContractName(String)

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

AsContractType(Type)

Specifies that the import should use the given contract type.

AsContractType<T>()

Specifies that the import should use the given contract type.

AsMany(Boolean)

Specifies the import's cardinality.

Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
RequiredCreationPolicy(CreationPolicy)

Specifies the import's required creation policy.

Source(ImportSource)

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

ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to