PartConventionBuilder Class
Configures a type as a part.
Assembly: System.Composition.Convention (in System.Composition.Convention.dll)
System.Composition.Convention::PartConventionBuilder
System.Composition.Convention::PartConventionBuilder<T>
| Name | Description | |
|---|---|---|
![]() | AddPartMetadata(String^, Func<Type^, Object^>^) | Adds metadata that has the specified name and value to the part. The value is returned by a function that maps the part type to the metadata value. |
![]() | AddPartMetadata(String^, Object^) | Adds metadata that has the specified name and value to the part. |
![]() | Equals(Object^) | (Inherited from Object.) |
![]() | Export() | Exports the part with its concrete type as the contract type. |
![]() | Export(Action<ExportConventionBuilder^>^) | Exports the part that has the specified configuration. |
![]() | Export<T>() | Exports the part that has the specified contract type. |
![]() | Export<T>(Action<ExportConventionBuilder^>^) | Exports the part that has the specified contract type by using the specified configuration. |
![]() | ExportInterfaces() | Selects all interfaces on the part type to be exported. |
![]() | ExportInterfaces(Predicate<Type^>^) | Selects interfaces on the part type to be exported according to the specified filter. |
![]() | ExportInterfaces(Predicate<Type^>^, Action<Type^, ExportConventionBuilder^>^) | Selects interfaces on the part type to be exported according to the specified filter, using the specified export configuration. |
![]() | ExportProperties(Predicate<PropertyInfo^>^) | Selects the properties on the part to export according the specified predicate. |
![]() | ExportProperties(Predicate<PropertyInfo^>^, Action<PropertyInfo^, ExportConventionBuilder^>^) | Selects the properties on the part to export according the specified predicate, using the specified export configuration. |
![]() | ExportProperties<T>(Predicate<PropertyInfo^>^) | Selects the properties on the part to export according the specified predicate, using the specified contract type. |
![]() | ExportProperties<T>(Predicate<PropertyInfo^>^, Action<PropertyInfo^, ExportConventionBuilder^>^) | Selects the properties on the part to export according the specified predicate, using the specified contract type and export configuration. |
![]() | Finalize() | (Inherited from Object.) |
![]() | GetHashCode() | (Inherited from Object.) |
![]() | GetType() | (Inherited from Object.) |
![]() | ImportProperties(Predicate<PropertyInfo^>^) | Selects the properties on the part to import according to the specified predicate. |
![]() | ImportProperties(Predicate<PropertyInfo^>^, Action<PropertyInfo^, ImportConventionBuilder^>^) | Selects the properties on the part to import according the specified predicate, using the specified import configuration. |
![]() | ImportProperties<T>(Predicate<PropertyInfo^>^) | Selects the properties on the part to import according the specified predicate, using the specified contract type. |
![]() | ImportProperties<T>(Predicate<PropertyInfo^>^, Action<PropertyInfo^, ImportConventionBuilder^>^) | Selects the properties on the part to import according the specified predicate, using the specified contract type and import configuration. |
![]() | MemberwiseClone() | (Inherited from Object.) |
![]() | NotifyImportsSatisfied(Predicate<MethodInfo^>^) | Select methods to be used as a notification when composition is complete. |
![]() | SelectConstructor(Func<IEnumerable<ConstructorInfo^>^, ConstructorInfo^>^) | Selects the constructor used to initialize the part by using the specified function. |
![]() | SelectConstructor(Func<IEnumerable<ConstructorInfo^>^, ConstructorInfo^>^, Action<ParameterInfo^, ImportConventionBuilder^>^) | Selects the constructor used to initialize the part by using the specified function and import configuration. |
![]() | Shared() | Marks the part as being shared throughout the entire composition. |
![]() | Shared(String^) | Marks the part as being shared within the specified boundary. |
![]() | ToString() | (Inherited from Object.) |
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

