Пример #1
0
 /// <summary>
 /// Raises <see cref="MethodCall"/> event
 /// </summary>
 protected virtual void OnMethodCall(MethodCallEventArgs e)
 {
     if (HasEvents)
     {
         var handler = (EventHandler <MethodCallEventArgs>)Events[MethodCallEvent];
         if (handler != null)
         {
             e.Handled = true;
             handler(this, e);
         }
     }
 }
Пример #2
0
 /// <summary>
 /// Raises <see cref="MethodCall"/> event
 /// </summary>
 protected virtual void OnMethodCall(MethodCallEventArgs e)
 {
     if (HasEvents)
     {
         var handler = (EventHandler<MethodCallEventArgs>)Events[MethodCallEvent];
         if (handler != null)
         {
             e.Handled = true;
             handler(this, e);
         }
     }
 }
Пример #3
0
 /// <summary>
 /// Handles method call event
 /// </summary>
 void ISciterBehavior.ProcessMethodCall(MethodCallEventArgs e)
 {
     OnMethodCall(e);
 }
Пример #4
0
 /// <summary>
 /// Handles method call event
 /// </summary>
 void ISciterBehavior.ProcessMethodCall(MethodCallEventArgs e)
 {
     OnMethodCall(e);
 }