AttributeTableBuilder AttributeTableBuilder AttributeTableBuilder AttributeTableBuilder Class

Definition

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
Inheritance
AttributeTableBuilderAttributeTableBuilderAttributeTableBuilderAttributeTableBuilder

Remarks

Use AddCallback, AddCustomAttributes, and AddTable to populate the builder, then call CreateTable to acquire an AttributeTable containing the desired collection of attributes.

Constructors

AttributeTableBuilder() AttributeTableBuilder() AttributeTableBuilder() AttributeTableBuilder()

Creates a new instance of the AttributeTableBuilder class.

Methods

AddCallback(Type, AttributeCallback) AddCallback(Type, AttributeCallback) AddCallback(Type, AttributeCallback) AddCallback(Type, AttributeCallback)

Specifies a callback that will be invoked when metadata for the given type is needed.

AddCustomAttributes(Type, Attribute[]) AddCustomAttributes(Type, Attribute[]) AddCustomAttributes(Type, Attribute[]) AddCustomAttributes(Type, Attribute[])

Adds the contents of the provided attributes to this builder.

AddCustomAttributes(Type, DependencyProperty, Attribute[]) AddCustomAttributes(Type, DependencyProperty, Attribute[]) AddCustomAttributes(Type, DependencyProperty, Attribute[]) AddCustomAttributes(Type, DependencyProperty, Attribute[])

Adds the contents of the provided attributes to this builder.

AddCustomAttributes(Type, MemberDescriptor, Attribute[]) AddCustomAttributes(Type, MemberDescriptor, Attribute[]) AddCustomAttributes(Type, MemberDescriptor, Attribute[]) AddCustomAttributes(Type, MemberDescriptor, Attribute[])

Adds the contents of the provided attributes to this builder.

AddCustomAttributes(Type, MemberInfo, Attribute[]) AddCustomAttributes(Type, MemberInfo, Attribute[]) AddCustomAttributes(Type, MemberInfo, Attribute[]) AddCustomAttributes(Type, MemberInfo, Attribute[])

Adds the contents of the provided attributes to this builder.

AddCustomAttributes(Type, String, Attribute[]) AddCustomAttributes(Type, String, Attribute[]) AddCustomAttributes(Type, String, Attribute[]) AddCustomAttributes(Type, String, Attribute[])

Adds the contents of the provided attributes to this builder.

AddTable(AttributeTable) AddTable(AttributeTable) AddTable(AttributeTable) AddTable(AttributeTable)

Adds the contents of the provided attribute table to this builder.

CreateTable() CreateTable() CreateTable() CreateTable()

Creates an attribute table that contains all of the attribute definitions provided through AddCustomAttributes(Type, Attribute[]) calls.

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode() GetHashCode() GetHashCode() GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType() GetType() GetType() GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString() ToString() ToString() ToString()

Returns a string that represents the current object.

(Inherited from Object)
ValidateTable() ValidateTable() ValidateTable() ValidateTable()

Verifies that the attribute table that is being built contains valid attribute information.

Applies to