Exemple #1
0
 /// <summary>
 /// Raises <see cref="ScriptingMethodCall"/> event
 /// </summary>
 protected virtual void OnScriptingMethodCall(ScriptingMethodCallEventArgs e)
 {
     if (HasEvents)
     {
         var handler = (EventHandler <ScriptingMethodCallEventArgs>)Events[ScriptingMethodCallEvent];
         if (handler != null)
         {
             e.Handled = true;
             handler(this, e);
         }
     }
 }
 /// <summary>
 /// Raises <see cref="ScriptingMethodCall"/> event
 /// </summary>
 protected virtual void OnScriptingMethodCall(ScriptingMethodCallEventArgs e)
 {
     if (HasEvents)
     {
         var handler = (EventHandler<ScriptingMethodCallEventArgs>)Events[ScriptingMethodCallEvent];
         if (handler != null)
         {
             e.Handled = true;
             handler(this, e);
         }
     }
 }
 /// <summary>
 /// Handles scripting calls
 /// </summary>
 void ISciterBehavior.ProcessScriptingMethodCall(ScriptingMethodCallEventArgs e)
 {
     OnScriptingMethodCall(e);
 }
Exemple #4
0
 /// <summary>
 /// Handles scripting calls
 /// </summary>
 void ISciterBehavior.ProcessScriptingMethodCall(ScriptingMethodCallEventArgs e)
 {
     OnScriptingMethodCall(e);
 }