/// <summary> /// Calls the OnYield event handler. /// </summary> /// <param name="e">The arguments to the event.</param> protected void CallOnYield(YieldEventArgs e) { if (OnYield != null) { OnYield(this, e); } }
/// <summary> /// Calls the OnYield event handler. /// </summary> /// <param name="e">The arguments to the event.</param> protected void _callOnYield(YieldEventArgs e) { OnYield?.Invoke(this, e); }