ModelTaskAttribute
Attributes ยท AiDotNet.Attributes
Specifies the task(s) that a model is designed to perform.
Inheritance: Attribute โ ModelTaskAttribute
For Beginners
Apply this attribute to your model class to indicate what the model actually does. You can apply it multiple times if the model performs several tasks.
How It Works
Usage:
Constructors
| Constructor | Summary |
|---|---|
ModelTaskAttribute(ModelTask task) |
Initializes a new instance of the ModelTaskAttribute class. |
Properties
| Property | Summary |
|---|---|
ModelTask Task { get; } |
Gets the task this model performs. |