Exemple #1
0
 public static void ExternalEval(string script)
 {
     if (script.Length > 0 && script[script.Length - 1] != ';')
     {
         script += ';';
     }
     Application.Internal_ExternalCall(script);
 }
 /// <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);
 }
Exemple #3
0
        public static void ExternalEval(string script)
        {
            bool flag = script.Length > 0 && script[script.Length - 1] != ';';

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