public void AddFiles(Collection<BitsFileInfo> files) { BG_FILE_INFO[] fileArray = new BG_FILE_INFO[files.Count]; for (int i = 0; i < files.Count; i++) { fileArray[i] = files[i]._BG_FILE_INFO; } this.AddFiles(fileArray); }
internal BitsFileInfo(BG_FILE_INFO fileInfo) { this.fileInfo = fileInfo; }
internal void AddFiles(BG_FILE_INFO[] files) { try { uint count = Convert.ToUInt32(files.Length); this.job.AddFileSet(count, files); } catch (COMException exception) { manager.PublishException(this, exception); } }
public BitsFileInfo(string remoteName, string localName) { this.fileInfo = new BG_FILE_INFO(); this.fileInfo.RemoteName = remoteName; this.fileInfo.LocalName = localName; }