protected virtual void OnDuplicateFound( VideoFile file1, VideoFile file2) => DuplicateFound?.Invoke(this, new DuplicateFoundEventArgs { File1 = file1, File2 = file2, BasePath = CurrentState.Settings.BasePath, });
protected virtual void OnDuplicateFound(int start, int length) { var duplicate = CreateReadOnlyList(start, length); DuplicateFound?.Invoke(this, new FileInfoReadOnlyListEventArgs(duplicate)); }