Record
public record AiContextScope : System.IEquatable<Moka.Blazor.AI.Models.AiContextScope>
Namespace: Moka.Blazor.AI.Models
Represents a named scope entry for focused context building.
Inheritance
Implements: System.IEquatable<Moka.Blazor.AI.Models.AiContextScope>
Constructors
| Name | Description |
|---|---|
AiContextScope(…) |
Represents a named scope entry for focused context building. |
AiContextScope(string Key, object? Data, string? Label)
AiContextScope.AiContextScope(string Key, object? Data, string? Label = null)
Represents a named scope entry for focused context building.
Parameters
| Name | Type | Description |
|---|---|---|
Key | string | Scope identifier (e.g. "path", "selection", "object"). |
Data | object? | Scope data whose type depends on the context builder implementation. |
Label | string? | Optional human-readable label for display purposes. |
Properties
| Name | Description |
|---|---|
Data |
Scope data whose type depends on the context builder implementation. |
Key |
Scope identifier (e.g. "path", "selection", "object"). |
Label |
Optional human-readable label for display purposes. |
Data
object? AiContextScope.Data { get; init; }
Scope data whose type depends on the context builder implementation.
Key
string AiContextScope.Key { get; init; }
Scope identifier (e.g. "path", "selection", "object").
Label
string? AiContextScope.Label { get; init; }
Optional human-readable label for display purposes.
Type Relationships
classDiagram
style AiContextScope fill:#f9f,stroke:#333,stroke-width:2px
AiContextScope ..|> AiContextScope~ : implements
View Source
/// <summary>
/// Represents a named scope entry for focused context building.
/// </summary>
/// <param name = "Key">Scope identifier (e.g. "path", "selection", "object").</param>
/// <param name = "Data">Scope data whose type depends on the context builder implementation.</param>
/// <param name = "Label">Optional human-readable label for display purposes.</param>
public sealed record AiContextScope(string Key, object? Data, string? Label = null);