SmartAdapter.WorksWithAttribute
Wisej.AI.SmartAdapter WorksWithAttribute
Namespace: Wisej.AI
Assembly: Wisej.AI (3.5.0.0)
Represents an attribute that specifies the compatibility of a SmartAdapter with a SmartEndpoint.
public class WorksWithAttribute : AttributePublic Class WorksWithAttribute
Inherits AttributeThis attribute is used to indicate that a SmartAdapter works with a specific SmartEndpoint. It can be applied multiple times to specify compatibility with different SmartEndpoint types.
Constructors
WorksWithAttribute(type, allowed)
Initializes a new instance of the WorksWithAttribute class with the specified type and allowed status.
Throws:
ArgumentNullException Thrown when the type is
null.ArgumentException Thrown when the type is not a subclass of SmartEndpoint.
WorksWithAttribute(type, allowed)
Initializes a new instance of the WorksWithAttribute class with the specified type name and allowed status.
Throws:
ArgumentNullException Thrown when the type is
null.ArgumentException Thrown when the type is not a subclass of SmartEndpoint.
Properties
Allowed
Boolean: Gets a value indicating whether the SmartEndpoint is allowed.
Type
Type: Gets the SmartEndpoint that the attribute allows or disallows.
TypeName
String: Gets the type name of the SmartEndpoint that the attribute allows or disallows.
Last updated
