using System; using System.Collections.Generic; using System.IO; using Renci.SshNet.Common; namespace Renci.SshNet.Sftp { /// /// Encapsulates the results of an asynchronous directory synchronization operation. /// public class SftpSynchronizeDirectoriesAsyncResult : AsyncResult> { /// /// Gets the number of files read so far. /// public int FilesRead { get; private set; } /// /// Initializes a new instance of the class. /// /// The async callback. /// The state. public SftpSynchronizeDirectoriesAsyncResult(AsyncCallback asyncCallback, object state) : base(asyncCallback, state) { } /// /// Updates asynchronous operation status information. /// /// The files read. internal void Update(int filesRead) { FilesRead = filesRead; } } }