Class AiParameterAttribute
- Namespace
- Mythosia.AI.Attributes
- Assembly
- Mythosia.AI.Abstractions.dll
Marks a parameter with additional metadata
[AttributeUsage(AttributeTargets.Parameter)]
public class AiParameterAttribute : Attribute
- Inheritance
-
AiParameterAttribute
- Inherited Members
Constructors
AiParameterAttribute()
public AiParameterAttribute()
AiParameterAttribute(string, bool)
public AiParameterAttribute(string description, bool required = true)
Parameters
Properties
Description
Description of the parameter
public string Description { get; set; }
Property Value
Name
Optional custom name for the parameter
public string Name { get; set; }
Property Value
Required
Whether this parameter is required
public bool Required { get; set; }