private void OnComparisonFinished(bool result) { ComparisonFinished?.Invoke(this, new ComparatorEventArgs() { IsSuccess = result }); }
protected virtual void OnComparisonFinished( Func <ComparisonFinishedEventArgs> eventArgsCreator) => ComparisonFinished?.Invoke(this, eventArgsCreator.Invoke());