AttributeTableBuilder Classe
Definição
Cria e preenche um AttributeTable que é usado pelo MetadataStore para fornecer a pesquisa e registro de atributo.Creates and populates an AttributeTable that is used by the MetadataStore to provide attribute lookup and registration.
public ref class AttributeTableBuilder
public class AttributeTableBuilder
type AttributeTableBuilder = class
Public Class AttributeTableBuilder
- Herança
-
AttributeTableBuilder
Comentários
Use AddCallback , AddCustomAttributes , e AddTable para popular o construtor e, em seguida, chame CreateTable para adquirir um AttributeTable que contenha a coleção desejada de atributos.Use AddCallback, AddCustomAttributes, and AddTable to populate the builder, then call CreateTable to acquire an AttributeTable containing the desired collection of attributes.
Construtores
| AttributeTableBuilder() |
Cria uma nova instância da classe AttributeTableBuilder.Creates a new instance of the AttributeTableBuilder class. |
Métodos
| AddCallback(Type, AttributeCallback) |
Especifica um retorno de chamada que será invocado quando os metadados para o tipo determinado forem necessários.Specifies a callback that will be invoked when metadata for the given type is needed. |
| AddCustomAttributes(Type, Attribute[]) |
Adiciona o conteúdo dos atributos fornecidos para esse construtor.Adds the contents of the provided attributes to this builder. |
| AddCustomAttributes(Type, DependencyProperty, Attribute[]) |
Adiciona o conteúdo dos atributos fornecidos para esse construtor.Adds the contents of the provided attributes to this builder. |
| AddCustomAttributes(Type, MemberDescriptor, Attribute[]) |
Adiciona o conteúdo dos atributos fornecidos para esse construtor.Adds the contents of the provided attributes to this builder. |
| AddCustomAttributes(Type, MemberInfo, Attribute[]) |
Adiciona o conteúdo dos atributos fornecidos para esse construtor.Adds the contents of the provided attributes to this builder. |
| AddCustomAttributes(Type, String, Attribute[]) |
Adiciona o conteúdo dos atributos fornecidos para esse construtor.Adds the contents of the provided attributes to this builder. |
| AddTable(AttributeTable) |
Adiciona o conteúdo da tabela de atributos fornecida para esse construtor.Adds the contents of the provided attribute table to this builder. |
| CreateTable() |
Cria uma tabela de atributo que contém todas as definições de atributo fornecidas por meio de chamadas AddCustomAttributes(Type, Attribute[]).Creates an attribute table that contains all of the attribute definitions provided through AddCustomAttributes(Type, Attribute[]) calls. |
| 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) |
| 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) |
| ValidateTable() |
Verifica se a tabela de atributos que está sendo criada contém informações de atributo válidas.Verifies that the attribute table that is being built contains valid attribute information. |