AttributeCallbackBuilder Class

.NET Framework (current version)
 

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

Namespace:   System.Activities.Presentation.Metadata
Assembly:  System.Activities.Presentation (in System.Activities.Presentation.dll)

System.Object
  System.Activities.Presentation.Metadata.AttributeCallbackBuilder

public sealed class AttributeCallbackBuilder

NameDescription
System_CAPS_pubpropertyCallbackType

The type to which attributes will be added.

NameDescription
System_CAPS_pubmethodAddCustomAttributes(Attribute[])

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

System_CAPS_pubmethodAddCustomAttributes(DependencyProperty, Attribute[])

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

System_CAPS_pubmethodAddCustomAttributes(MemberDescriptor, Attribute[])

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

System_CAPS_pubmethodAddCustomAttributes(MemberInfo, Attribute[])

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

System_CAPS_pubmethodAddCustomAttributes(String, Attribute[])

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

System_CAPS_pubmethodEquals(Object)

Determines whether the specified object is equal to the current object.(Inherited from 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_pubmethodToString()

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

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.

.NET Framework
Available since 4.0

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: