Class
AIAssistantIncludeAttribute

Controls which types include a property in the AI-assistant JSON schema.

Definition

Namespace:Telerik.Reporting

Assembly:Telerik.Reporting.dll

Syntax:

cs-api-definition
[AttributeUsage(AttributeTargets.Property, AllowMultiple = false, Inherited = true)]
public sealed class AIAssistantIncludeAttribute : Attribute

Inheritance: objectAttributeAIAssistantIncludeAttribute

Constructors

AIAssistantIncludeAttribute(string)

Initializes a new instance of AIAssistantIncludeAttribute.

Declaration

cs-api-definition
public AIAssistantIncludeAttribute(string types = "")

Parameters

types

string

Optional comma-separated type names that form a whitelist. When omitted or empty the property is included for all types. When specified, the property is included ONLY for those types and explicitly excluded for all others. Example: "Panel, Table, List".

Properties

Types

Gets the type names for which this property should be force-included. An empty array means "include for all types".

Declaration

cs-api-definition
public string[] Types { get; }

Property Value

string[]