AttributeCallbackBuilder Class

Definition

Provides access to add attributes for one specific type to one specific AttributeTable.

public ref class AttributeCallbackBuilder sealed
public sealed class AttributeCallbackBuilder
type AttributeCallbackBuilder = class
Public NotInheritable Class AttributeCallbackBuilder
Inheritance
AttributeCallbackBuilder

Remarks

The first time an AttributeTable is queried for attributes for a type, if the AttributeTableBuilder was populated using AddCallback for that type, the delegate is passed a AttributeCallbackBuilder. The AttributeTable removes the callback reference and adds any attribute information provided by calls to AddCustomAttributes.

Properties

CallbackType

The type to which attributes will be added.

Methods

AddCustomAttributes(Attribute[])

Adds the contents of the provided attributes to the attribute table that created this builder.

AddCustomAttributes(DependencyProperty, Attribute[])

Adds the contents of the provided attributes to the attribute table that created this builder.

AddCustomAttributes(MemberDescriptor, Attribute[])

Adds the contents of the provided attributes to the attribute table that created this builder.

AddCustomAttributes(MemberInfo, Attribute[])

Adds the contents of the provided attributes to the attribute table that created this builder.

AddCustomAttributes(String, Attribute[])

Adds the contents of the provided attributes to the attribute table that created this builder.

Equals(Object)

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

(Inherited from Object)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to