Export (0) Print
Expand All

PartBuilder Methods

.NET Framework 4.5

The PartBuilder type exposes the following members.

  Name Description
Public method AddMetadata(String, Func<Type, Object>) Adds metadata to the matching types.
Public method AddMetadata(String, Object) Adds metadata to the matching types.
Public method Equals(Object) Determines whether the specified object is equal to the current object. (Inherited from Object.)
Public method Export() Specifies that matching types should be exported.
Public method Export(Action<ExportBuilder>) Specifies that matching types should be exported, and provides configuration information for the resulting exports.
Public method Export<T>() Specifies that matching types should be exported by using the specified contract type.
Public method 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.
Public method ExportInterfaces() Specifies that all the interfaces of the matching types should be exported.
Public method ExportInterfaces(Predicate<Type>) Specifies a set of interfaces on the matching types that should be exported.
Public method 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.
Public method ExportProperties(Predicate<PropertyInfo>) Specifies a set of properties that should be exported on the matching types.
Public method 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.
Public method ExportProperties<T>(Predicate<PropertyInfo>) Specifies a set of properties on the matching types that should be exported, by using the specified contract type.
Public method 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.
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode Serves as the default hash function. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method ImportProperties(Predicate<PropertyInfo>) Specifies a set of properties on the matching types that should be imported.
Public method 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.
Public method ImportProperties<T>(Predicate<PropertyInfo>) Specifies a set of properties on the matching types that should be marked as imports using the specified contract type.
Public method 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.
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method SelectConstructor(Func<ConstructorInfo[], ConstructorInfo>) Specifies the constructor that matching types should use as an importing constructor.
Public method 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.
Public method SetCreationPolicy Specifies the creation policy for matching types.
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Top
Show:
© 2014 Microsoft