SmartAdapter.ExtendsAttribute
Wisej.AI.SmartAdapter ExtendsAttribute
Namespace: Wisej.AI
Assembly: Wisej.AI (3.5.0.0)
Represents an attribute that specifies the type a SmartAdapter extends, allowing for multiple extensions if specified.
public class ExtendsAttribute : Attribute
This attribute can be applied to SmartAdapter classes to indicate that they extend a particular type. It supports specifying the type either by a Type object or by a type name string.
Constructors
ExtendsAttribute(type, allowMultiple)

Initializes a new instance of the ExtendsAttribute class with the specified type.
Throws:
ArgumentNullException Thrown when the type is
null
.
ExtendsAttribute(typeName, allowMultiple)

Initializes a new instance of the ExtendsAttribute class with the specified type name.
Throws:
ArgumentNullException Thrown when the typeName is
null
.
Properties
AllowMultiple

Boolean: Gets a value indicating whether the adapter can extend multiple controls.
Type

Type: Gets the Type object that the class extends.
If the type was specified by name, this property attempts to resolve it to a Type object.
TypeName

String: Gets the name of the type that the adapter can extend.
Last updated