ModelDomainAttribute
Attributes · AiDotNet.Attributes
Specifies the application domain(s) that a model is designed for.
Inheritance: Attribute → ModelDomainAttribute
For Beginners
Apply this attribute to your model class to indicate what field or industry it’s best suited for. You can apply it multiple times if the model works in several domains.
How It Works
Usage:
Constructors
| Constructor | Summary |
|---|---|
ModelDomainAttribute(ModelDomain domain) |
Initializes a new instance of the ModelDomainAttribute class. |
Properties
| Property | Summary |
|---|---|
ModelDomain Domain { get; } |
Gets the application domain this model belongs to. |