SmartAdapter.WorksWithAttribute
Wisej.AI.SmartAdapter WorksWithAttribute
Last updated
Wisej.AI.SmartAdapter WorksWithAttribute
Last updated
Namespace: Wisej.AI
Assembly: Wisej.AI (3.5.0.0)
Represents an attribute that specifies the compatibility of a with a .
This attribute is used to indicate that a works with a specific . It can be applied multiple times to specify compatibility with different types.
Initializes a new instance of the class with the specified type and allowed status.
type
allowed
Indicates whether the type is allowed. Default is true
.
Throws:
Thrown when the type is null
.
Thrown when the type is not a subclass of .
Initializes a new instance of the class with the specified type name and allowed status.
type
allowed
Indicates whether the type is allowed. Default is true
.
Throws:
The type that the class works with. Must be a subclass of .
The name of the type that the class works with. Must be a subclass of .
Thrown when the type is null
.
Thrown when the type is not a subclass of .
: Gets a value indicating whether the is allowed.
: Gets the that the attribute allows or disallows.
: Gets the type name of the that the attribute allows or disallows.