ConventionBuilder Classe
Definição
Fornece métodos para criar e configurar regras para definir objetos CLR como partes do MEF (Managed Extensibility Framework).Provides methods for creating and configuring rules to define CLR objects as Managed Extensibility Framework (MEF) parts.
public ref class ConventionBuilder : System::Composition::Convention::AttributedModelProvider
public class ConventionBuilder : System.Composition.Convention.AttributedModelProvider
type ConventionBuilder = class
inherit AttributedModelProvider
Public Class ConventionBuilder
Inherits AttributedModelProvider
- Herança
Construtores
| ConventionBuilder() |
Inicializa uma nova instância da classe ConventionBuilder.Initializes a new instance of the ConventionBuilder class. |
Métodos
| Equals(Object) |
Determina se o objeto especificado é igual ao objeto atual.Determines whether the specified object is equal to the current object. (Herdado de Object) |
| ForType(Type) |
Cria uma regra que se aplica ao tipo especificado.Creates a rule that applies to the specified type. |
| ForType<T>() |
Cria uma regra que se aplica ao tipo genérico especificado.Creates a rule that applies to the specified generic type. |
| ForTypesDerivedFrom(Type) |
Cria uma regra que se aplica a todos os tipos que implementam o tipo especificado ou que são derivados dele.Creates a rule that applies to all types that implement, or are derived from, the specified type. |
| ForTypesDerivedFrom<T>() |
Cria uma regra que se aplica a todos os tipos que implementam o tipo genérico especificado ou que são derivados dele.Creates a rule that applies to all types that implement, or are derived from, the specified generic type. |
| ForTypesMatching(Predicate<Type>) |
Cria uma regra que se aplica aos tipos que correspondem ao predicado especificado.Creates a rule that applies to types that match the specified predicate. |
| ForTypesMatching<T>(Predicate<Type>) |
Cria uma regra que se aplica aos tipos que correspondem ao predicado e tipo genérico especificados.Creates a rule that applies to types that match the specified predicate and generic type. |
| GetCustomAttributes(Type, MemberInfo) |
Recupera a lista de atributos personalizados aplicados ao membro especificado do tipo especificado.Retrieves the list of custom attributes applied to the specified member of the specified type. |
| GetCustomAttributes(Type, ParameterInfo) |
Recupera a lista de atributos personalizados aplicados ao parâmetro especificado do tipo especificado.Retrieves the list of custom attributes applied to the specified parameter of the specified type. |
| GetHashCode() |
Serve como a função de hash padrão.Serves as the default hash function. (Herdado de Object) |
| GetType() |
Obtém o Type da instância atual.Gets the Type of the current instance. (Herdado de Object) |
| MemberwiseClone() |
Cria uma cópia superficial do Object atual.Creates a shallow copy of the current Object. (Herdado de Object) |
| ToString() |
Retorna uma cadeia de caracteres que representa o objeto atual.Returns a string that represents the current object. (Herdado de Object) |