ConventionBuilder Class
Contains methods to define objects as MEF parts.
Assembly: System.Composition.Convention (in System.Composition.Convention.dll)
System.Composition.Convention.AttributedModelProvider
System.Composition.Convention.ConventionBuilder
| Name | Description | |
|---|---|---|
![]() | ConventionBuilder() | Initializes a new instance of the ConventionBuilder class. |
| Name | Description | |
|---|---|---|
![]() | Equals(Object) | (Inherited from Object.) |
![]() | Finalize() | (Inherited from Object.) |
![]() | ForType(Type) | Creates a rule that applies to the specified type. |
![]() | ForType<T>() | Creates a rule that applies to the specified generic type. |
![]() | ForTypesDerivedFrom(Type) | Creates a rule that applies to all types that implement, or are derived from, the specified type. |
![]() | ForTypesDerivedFrom<T>() | Creates a rule that applies to all types that implement, or are derived from, the specified generic type. |
![]() | ForTypesMatching(Predicate<Type>) | Creates a rule that applies to types that match the specified predicate. |
![]() | ForTypesMatching<T>(Predicate<Type>) | Creates a rule that applies to types that match the specified predicate and generic type. |
![]() | GetCustomAttributes(Type, MemberInfo) | Retrieves the list of custom attributes applied to the specified member of the specified type.(Overrides AttributedModelProvider.GetCustomAttributes(Type, MemberInfo).) |
![]() | GetCustomAttributes(Type, ParameterInfo) | Retrieves the list of custom attributes applied to the specified parameter of the specified type.(Overrides AttributedModelProvider.GetCustomAttributes(Type, ParameterInfo).) |
![]() | GetHashCode() | (Inherited from Object.) |
![]() | GetType() | (Inherited from Object.) |
![]() | MemberwiseClone() | (Inherited from Object.) |
![]() | 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.

