Пример #1
0
 /// <summary>
 ///  Helper function used to fire off born events.
 /// </summary>
 /// <param name="e">The born event arguments.</param>
 /// <param name="clearOnly">Only clear the action, don't fire the event.</param>
 private void OnBorn(BornEventArgs e, bool clearOnly)
 {
     if (!clearOnly && Born != null)
     {
         Born(this, e);
     }
 }
Пример #2
0
 /// <summary>
 ///  Helper function used to fire off born events.
 /// </summary>
 /// <param name="e">The born event arguments.</param>
 /// <param name="clearOnly">Only clear the action, don't fire the event.</param>
 private void OnBorn(BornEventArgs e, bool clearOnly)
 {
     if (!clearOnly && Born != null)
     {
         Born(this, e);
     }
 }