SmartAdapter.ExtendsAttribute
Wisej.AI.SmartAdapter ExtendsAttribute
Last updated
Wisej.AI.SmartAdapter ExtendsAttribute
Last updated
Namespace: Wisej.AI
Assembly: Wisej.AI (3.5.0.0)
Represents an attribute that specifies the type a extends, allowing for multiple extensions if specified.
This attribute can be applied to classes to indicate that they extend a particular type. It supports specifying the type either by a object or by a type name string.
Initializes a new instance of the class with the specified type.
type
The type that the class extends.
allowMultiple
Indicates whether multiple extensions are allowed. Default is false
.
Throws:
Thrown when the type is null
.
Initializes a new instance of the class with the specified type name.
typeName
The name of the type that the class extends.
allowMultiple
Indicates whether multiple extensions are allowed. Default is false
.
Throws:
Thrown when the typeName is null
.
: Gets a value indicating whether the adapter can extend multiple controls.
: Gets the object that the class extends.
If the type was specified by name, this property attempts to resolve it to a object.
: Gets the name of the type that the adapter can extend.