private void OnMediaFileFailed(object sender, MediaFileFailedEventArgs e) { if (sender == CurrentPlaybackManager) { OnStatusChanged(sender, new StatusChangedEventArgs(MediaPlayerStatus.Failed)); MediaFileFailed?.Invoke(sender, e); } }
protected virtual void OnMediaFileFailed(MediaFileFailedEventArgs e) { MediaFileFailed?.Invoke(this, e); }