コード例 #1
0
 public static void ExternalEval(string script)
 {
     if (script.Length > 0 && script[script.Length - 1] != ';')
     {
         script += ';';
     }
     Application.Internal_ExternalCall(script);
 }
コード例 #2
0
 /// <summary>
 ///   <para>Evaluates script function in the containing web page.</para>
 /// </summary>
 /// <param name="script">The Javascript function to call.</param>
 public static void ExternalEval(string script)
 {
     if (script.Length > 0 && (int)script[script.Length - 1] != 59)
     {
         script += (string)(object)';';
     }
     Application.Internal_ExternalCall(script);
 }
コード例 #3
0
        public static void ExternalEval(string script)
        {
            bool flag = script.Length > 0 && script[script.Length - 1] != ';';

            if (flag)
            {
                script += ";";
            }
            Application.Internal_ExternalCall(script);
        }
コード例 #4
0
 public static void ExternalCall(string functionName, params object[] args)
 {
     Application.Internal_ExternalCall(Application.BuildInvocationForArguments(functionName, args));
 }