コード例 #1
0
ファイル: ParsedScript.cs プロジェクト: shellscape/Lumen
        /// <summary>
        ///   returns the list of functions/methods defined in the script.
        /// </summary>
        /// <returns>a List of strings, with the function names.</returns>
        /// <remarks>
        /// </remarks>
        public Dictionary <string, int> GetFunctions()
        {
            var inspector = new Lumen.Scripting.Inspecting.ObjectInspector(_dispatch);

            return(inspector.GetMethods());
        }
コード例 #2
0
ファイル: ParsedScript.cs プロジェクト: shellscape/Lumen
 /// <summary>
 ///   returns the list of functions/methods defined in the script.
 /// </summary>
 /// <returns>a List of strings, with the function names.</returns>
 /// <remarks>
 /// </remarks>
 public Dictionary<string, int> GetFunctions()
 {
     var inspector = new Lumen.Scripting.Inspecting.ObjectInspector(_dispatch);
     return inspector.GetMethods();
 }