protected virtual void OnNext(RestoreNextEventArgs nextEventArgs) { var handler = Next; if (handler != null) { handler(this, nextEventArgs); } }
protected virtual void OnNext(RestoreNextEventArgs nextEventArgs) { var handler = Next; handler?.Invoke(this, nextEventArgs); }