Exemplo n.º 1
0
 /// <summary>
 /// Raises the <see cref="Wilco.SyntaxHighlighting.NodeBase.OccurrenceRemoved"/> event.
 /// </summary>
 /// <param name="e">An <see cref="Wilco.SyntaxHighlighting.OccurrenceEventArgs"/> that contains the event data.</param>
 protected virtual void OnOccurrenceRemoved(OccurrenceEventArgs e)
 {
     if (this.OccurrenceRemoved != null)
     {
         this.OccurrenceRemoved(this, e);
     }
 }
Exemplo n.º 2
0
 /// <summary>
 /// Handles the occurrence removed event.
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void occurrences_OccurrenceRemoved(object sender, OccurrenceEventArgs e)
 {
     this.OnOccurrenceRemoved(e);
 }