예제 #1
0
    public void OnExecute (object sender, ScriptEventArgs args)
    {
      ArgumentUtility.CheckNotNull ("args", args);
      ArgumentUtility.CheckNotNull ("sender", sender);


      HtmlDocument document;
      if (_allowCalls && _currentDocuments.TryGetValue (args.DocumentHandle, out document))
        document.InvokeScript (args.Function, new object[] { args.Serialize() });
    }
예제 #2
0
 public void OnExecute(object sender, ScriptEventArgs args)
 {
 }