Exemple #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);
         }
     }
 }
 /// <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);
         }
     }
 }
 /// <summary>
 /// Handles data arrived event
 /// </summary>
 void ISciterBehavior.ProcessDataArrived(DataArrivedEventArgs e)
 {
     OnDataArrived(e);
 }
Exemple #4
0
 /// <summary>
 /// Handles data arrived event
 /// </summary>
 void ISciterBehavior.ProcessDataArrived(DataArrivedEventArgs e)
 {
     OnDataArrived(e);
 }