File: Internal\SrgsParser\IToken.cs
Web Access
Project: src\src\runtime\src\libraries\System.Speech\src\System.Speech.csproj (System.Speech)
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.

namespace System.Speech.Internal.SrgsParser
{
    /// <summary>
    /// Interface definition for the IToken
    /// </summary>
    internal interface IToken : IElement
    {
        string Text { set; }
        string Display { set; }
        string Pronunciation { set; }
    }

    internal delegate IToken CreateTokenCallback(IElement parent, string content, string? pronunciation, string? display, float reqConfidence);
}