RegistrationBuilder Class

.NET Framework (current version)
 

Represents a reflection context that has associated conventions that describe rules for decorating entities with Managed Extensibility Framework (MEF) attributes.

Namespace:   System.ComponentModel.Composition.Registration
Assembly:  System.ComponentModel.Composition.Registration (in System.ComponentModel.Composition.Registration.dll)

System.Object
  System.Reflection.ReflectionContext
    System.Reflection.Context.CustomReflectionContext
      System.ComponentModel.Composition.Registration.RegistrationBuilder

public class RegistrationBuilder : CustomReflectionContext

NameDescription
System_CAPS_pubmethodRegistrationBuilder()

Initializes a new instance of the RegistrationBuilder class.

NameDescription
System_CAPS_protmethodAddProperties(Type)

When overridden in a derived class, provides a collection of additional properties for the specified type, as represented in this reflection context.(Inherited from CustomReflectionContext.)

System_CAPS_protmethodCreateProperty(Type, String, Func<Object, Object>, Action<Object, Object>)

Creates an object that represents a property to be added to a type, to be used with the AddProperties method.(Inherited from CustomReflectionContext.)

System_CAPS_protmethodCreateProperty(Type, String, Func<Object, Object>, Action<Object, Object>, IEnumerable<Attribute>, IEnumerable<Attribute>, IEnumerable<Attribute>)

Creates an object that represents a property to be added to a type, to be used with the AddProperties method and using the specified custom attributes.(Inherited from CustomReflectionContext.)

System_CAPS_pubmethodEquals(Object)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_protmethodFinalize()

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.)

System_CAPS_pubmethodForType(Type)

Gets an object that represents a rule that applies to the specified type.

System_CAPS_pubmethodForType<T>()

Gets a strongly typed object that represents a rule that applies to the specified type.

System_CAPS_pubmethodForTypesDerivedFrom(Type)

Gets an object that represents a rule applicable to all types that implement the specified type, but not applicable to the specified type.

System_CAPS_pubmethodForTypesDerivedFrom<T>()

Gets a strongly typed object that represents a rule applicable to all types that implement the specified type, but not applicable to the specified type.

System_CAPS_pubmethodForTypesMatching(Predicate<Type>)

Gets an object that represents a rule applicable to all types that match the specified predicate.

System_CAPS_pubmethodForTypesMatching<T>(Predicate<Type>)

Gets a strongly typed object that represents a rule applicable to all types that match the specified predicate.

System_CAPS_protmethodGetCustomAttributes(MemberInfo, IEnumerable<Object>)

Provides a list of custom attributes for the specified member, as represented in this reflection context.(Overrides CustomReflectionContext.GetCustomAttributes(MemberInfo, IEnumerable<Object>).)

System_CAPS_protmethodGetCustomAttributes(ParameterInfo, IEnumerable<Object>)

Provides a list of custom attributes for the specified parameter, as represented in this reflection context.(Overrides CustomReflectionContext.GetCustomAttributes(ParameterInfo, IEnumerable<Object>).)

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_pubmethodGetTypeForObject(Object)

Gets the representation of the type of the specified object in this reflection context.(Inherited from ReflectionContext.)

System_CAPS_pubmethodMapAssembly(Assembly)

Gets the representation, in this reflection context, of an assembly that is represented by an object from another reflection context. (Inherited from CustomReflectionContext.)

System_CAPS_pubmethodMapType(TypeInfo)

Gets the representation, in this reflection context, of a type represented by an object from another reflection context. (Inherited from CustomReflectionContext.)

System_CAPS_protmethodMemberwiseClone()

Creates a shallow copy of the current Object.(Inherited from Object.)

System_CAPS_pubmethodToString()

Returns a string that represents the current object.(Inherited from Object.)

.NET Framework
Available since 4.5

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: