File: Blocks\RichText\LinkReferenceNode.cs
Web Access
Project: src\aspnetcore\src\Components\AI\src\Microsoft.AspNetCore.Components.AI.csproj (Microsoft.AspNetCore.Components.AI)
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
 
namespace Microsoft.AspNetCore.Components.AI;
 
/// <summary>
/// Represents a reference-style link.
/// </summary>
public class LinkReferenceNode : RichTextNode
{
    /// <summary>
    /// Gets or sets the reference label.
    /// </summary>
    public string Label { get; set; } = string.Empty;
 
    /// <summary>
    /// Gets or sets the reference syntax.
    /// </summary>
    public ReferenceKind ReferenceKind { get; set; }
}