コード例 #1
0
 protected virtual void OnDuplicateFound(
     VideoFile file1,
     VideoFile file2) =>
 DuplicateFound?.Invoke(this, new DuplicateFoundEventArgs
 {
     File1    = file1,
     File2    = file2,
     BasePath = CurrentState.Settings.BasePath,
 });
コード例 #2
0
        protected virtual void OnDuplicateFound(int start, int length)
        {
            var duplicate = CreateReadOnlyList(start, length);

            DuplicateFound?.Invoke(this, new FileInfoReadOnlyListEventArgs(duplicate));
        }