ModelDimensionRoleAttribute
Attributes ยท AiDotNet.Attributes
Identifies the architectural role of an integer constructor parameter.
Inheritance: Attribute โ ModelDimensionRoleAttribute
How It Works
This metadata makes relationships between scalar constructor arguments explicit without relying on parameter-name strings. Reflection-based construction and validation can therefore preserve attention geometry even when a parameter is renamed.
Constructors
| Constructor | Summary |
|---|---|
ModelDimensionRoleAttribute(ModelDimensionRole role) |
Initializes a new role declaration. |
Properties
| Property | Summary |
|---|---|
ModelDimensionRole Role { get; } |
Gets the declared architectural role. |