protected ContainerRemote(string accountName, string accountKey) { operations = CommonIO.Create(accountName, accountKey); operations.OnDownloadBytesTransferred += Operations_OnDownloadBytesTransferred; operations.OnDownloadCompleted += Operations_OnDownloadCompleted; operations.OnUploadBytesTransferred += Operations_OnUploadBytesTransferred; operations.OnUploadCompleted += Operations_OnUploadCompleted; }
protected ContainerRemote(string accountName, string accountKey) { operations = CommonIO.Create(accountName, accountKey); operations.OnDownloadBytesTransferred += Operations_OnDownloadBytesTransferred; operations.OnDownloadCompleted += Operations_OnDownloadCompleted; operations.OnUploadBytesTransferred += Operations_OnUploadBytesTransferred; operations.OnUploadCompleted += Operations_OnUploadCompleted; uploadQueue = new Dictionary <string, LockFile>(); timer = new System.Timers.Timer(60000.0); timer.Elapsed += Timer_Elapsed; timer.Start(); }