Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

ConventionBuilder Class

.NET Framework (current version)
 

Contains methods to define objects as MEF parts.

Namespace:   System.Composition.Convention
Assembly:  System.Composition.Convention (in System.Composition.Convention.dll)

System::Object
System.Composition.Convention::AttributedModelProvider
System.Composition.Convention::ConventionBuilder

public ref class ConventionBuilder : AttributedModelProvider

NameDescription
System_CAPS_pubmethodConventionBuilder()

Initializes a new instance of the ConventionBuilder class.

NameDescription
System_CAPS_pubmethodEquals(Object^)

(Inherited from Object.)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodForType(Type^)

Creates a rule that applies to the specified type.

System_CAPS_pubmethodForType<T>()

Creates a rule that applies to the specified generic type.

System_CAPS_pubmethodForTypesDerivedFrom(Type^)

Creates a rule that applies to all types that implement, or are derived from, the specified type.

System_CAPS_pubmethodForTypesDerivedFrom<T>()

Creates a rule that applies to all types that implement, or are derived from, the specified generic type.

System_CAPS_pubmethodForTypesMatching(Predicate<Type^>^)

Creates a rule that applies to types that match the specified predicate.

System_CAPS_pubmethodForTypesMatching<T>(Predicate<Type^>^)

Creates a rule that applies to types that match the specified predicate and generic type.

System_CAPS_pubmethodGetCustomAttributes(Type^, MemberInfo^)

Retrieves the list of custom attributes applied to the specified member of the specified type.(Overrides AttributedModelProvider::GetCustomAttributes(Type^, MemberInfo^).)

System_CAPS_pubmethodGetCustomAttributes(Type^, ParameterInfo^)

Retrieves the list of custom attributes applied to the specified parameter of the specified type.(Overrides AttributedModelProvider::GetCustomAttributes(Type^, ParameterInfo^).)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethodToString()

(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.

Return to top
Show:
© 2017 Microsoft