Пример #1
0
        protected TransferErrorOption RaiseTransferError(NeathCopyHandle copyHandle, FileDataInfo CurrentFile, string error)
        {
            if (TransferError != null)
            {
                return(TransferError(copyHandle, CurrentFile, error));
            }

            return(TransferErrorOption.SkipCurrentFile);
        }
Пример #2
0
        protected FileNotFoundOption RaiseFileNotFound(NeathCopyHandle copyHandle, FileDataInfo CurrentFile)
        {
            if (FileNotFound != null)
            {
                return(FileNotFound(copyHandle, CurrentFile));
            }

            return(FileNotFoundOption.Cancel);
        }