File: Internal\SrgsParser\IScript.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 IScript
    /// </summary>
    internal interface IScript : IElement
    {
        IScript Create(string rule, RuleMethodScript onInit);
    }

    internal enum RuleMethodScript
    {
        onInit = 1,
        onParse = 2,
        onRecognition = 3,
        onError
    }
}