Muokkaa

Jaa


PartBuilder<T> Class

Definition

Extends the PartBuilder class to allow the use of expressions to select members.

generic <typename T>
public ref class PartBuilder : System::ComponentModel::Composition::Registration::PartBuilder
public class PartBuilder<T> : System.ComponentModel.Composition.Registration.PartBuilder
type PartBuilder<'T> = class
    inherit PartBuilder
Public Class PartBuilder(Of T)
Inherits PartBuilder

Type Parameters

T

The type of the target.

Inheritance
PartBuilder<T>

Methods

AddMetadata(String, Func<Type,Object>)

Adds metadata to the matching types.

(Inherited from PartBuilder)
AddMetadata(String, Object)

Adds metadata to the matching types.

(Inherited from PartBuilder)
Equals(Object)

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

(Inherited from Object)
Export()

Specifies that matching types should be exported.

(Inherited from PartBuilder)
Export(Action<ExportBuilder>)

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

(Inherited from PartBuilder)
Export<T>()

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

(Inherited from PartBuilder)
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.

(Inherited from PartBuilder)
ExportInterfaces()

Specifies that all the interfaces of the matching types should be exported.

(Inherited from PartBuilder)
ExportInterfaces(Predicate<Type>, Action<Type,ExportBuilder>)

Specifies a set of interfaces on the matching types that should be exported, and provides configuration information for the resulting exports.

(Inherited from PartBuilder)
ExportInterfaces(Predicate<Type>)

Specifies a set of interfaces on the matching types that should be exported.

(Inherited from PartBuilder)
ExportProperties(Predicate<PropertyInfo>, Action<PropertyInfo,ExportBuilder>)

Specifies a set of properties on the matching types that should be exported, and provides configuration information for those exports.

(Inherited from PartBuilder)
ExportProperties(Predicate<PropertyInfo>)

Specifies a set of properties that should be exported on the matching types.

(Inherited from PartBuilder)
ExportProperties<T>(Predicate<PropertyInfo>, Action<PropertyInfo,ExportBuilder>)

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

(Inherited from PartBuilder)
ExportProperties<T>(Predicate<PropertyInfo>)

Specifies a set of properties on the matching types that should be exported, by using the specified contract type.

(Inherited from PartBuilder)
ExportProperty(Expression<Func<T,Object>>, Action<ExportBuilder>)

Specifies a property that should be exported, and provides configuration information for the resulting export.

ExportProperty(Expression<Func<T,Object>>)

Specifies a property that should be exported.

ExportProperty<TContract>(Expression<Func<T,Object>>, Action<ExportBuilder>)

Specifies a property that should be exported as the specified contract type, and provides configuration information for the resulting export.

ExportProperty<TContract>(Expression<Func<T,Object>>)

Specifies a property that should be exported as the specified contract type.

GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
ImportProperties(Predicate<PropertyInfo>, Action<PropertyInfo,ImportBuilder>)

Specifies a set of properties on the matching types that should be marked as imports, and provides configuration information for the resulting imports.

(Inherited from PartBuilder)
ImportProperties(Predicate<PropertyInfo>)

Specifies a set of properties on the matching types that should be imported.

(Inherited from PartBuilder)
ImportProperties<T>(Predicate<PropertyInfo>, Action<PropertyInfo,ImportBuilder>)

Specifies a set of properties on the matching types that should be marked as imports by using the specified contract type, and provides configuration information for the resulting imports.

(Inherited from PartBuilder)
ImportProperties<T>(Predicate<PropertyInfo>)

Specifies a set of properties on the matching types that should be marked as imports using the specified contract type.

(Inherited from PartBuilder)
ImportProperty(Expression<Func<T,Object>>, Action<ImportBuilder>)

Specifies that a property should be imported, and provides configuration information for the resulting import.

ImportProperty(Expression<Func<T,Object>>)

Specifies that a property should be imported.

ImportProperty<TContract>(Expression<Func<T,Object>>, Action<ImportBuilder>)

Specifies that a property should be imported using the specified contract name, and provides configuration information for the resulting import.

ImportProperty<TContract>(Expression<Func<T,Object>>)

Specifies that a property should be imported using the specified contract name.

MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
SelectConstructor(Expression<Func<ParameterImportBuilder,T>>)

Specifies the constructor that should be used as an importing constructor.

SelectConstructor(Func<ConstructorInfo[],ConstructorInfo>, Action<ParameterInfo,ImportBuilder>)

Specifies the constructor that matching types should use as an importing constructor, and provides configuration information for the resulting import.

(Inherited from PartBuilder)
SelectConstructor(Func<ConstructorInfo[],ConstructorInfo>)

Specifies the constructor that matching types should use as an importing constructor.

(Inherited from PartBuilder)
SetCreationPolicy(CreationPolicy)

Specifies the creation policy for matching types.

(Inherited from PartBuilder)
ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to