Beispiel #1
0
 /// <summary>
 /// Raises <see cref="DataArrived"/> event
 /// </summary>
 protected virtual void OnDataArrived(DataArrivedEventArgs e)
 {
     if (HasEvents)
     {
         var handler = (EventHandler <DataArrivedEventArgs>)Events[DataArrivedEvent];
         if (handler != null)
         {
             e.Handled = true;
             handler(this, e);
         }
     }
 }
Beispiel #2
0
 /// <summary>
 /// Raises <see cref="DataArrived"/> event
 /// </summary>
 protected virtual void OnDataArrived(DataArrivedEventArgs e)
 {
     if (HasEvents)
     {
         var handler = (EventHandler<DataArrivedEventArgs>)Events[DataArrivedEvent];
         if (handler != null)
         {
             e.Handled = true;
             handler(this, e);
         }
     }
 }
Beispiel #3
0
 /// <summary>
 /// Handles data arrived event
 /// </summary>
 void ISciterBehavior.ProcessDataArrived(DataArrivedEventArgs e)
 {
     OnDataArrived(e);
 }
Beispiel #4
0
 /// <summary>
 /// Handles data arrived event
 /// </summary>
 void ISciterBehavior.ProcessDataArrived(DataArrivedEventArgs e)
 {
     OnDataArrived(e);
 }