private void Operation_HideNotificationRequested([NotNull] object sender, [NotNull] HideNotificationEventArgs e) { var operation = (IOperation)sender; if (operation.Notification != null) { RequestHideNotification(operation.Notification, e.Callback); } }
protected virtual void OnRequestHideNotification([NotNull] HideNotificationEventArgs e) { HideNotificationRequested?.Invoke(this, e); }