public void RaiseFileUpdate(long fileNo, long totalFiles, DeploymentSubject subject) { var handler = FileUpdateEvent; if (handler != null) { handler(this, new FileProgressUpdateEventArgs(fileNo, totalFiles, subject)); } }
public FileProgressUpdateEventArgs(long currentFile, long totalFiles, DeploymentSubject subject) { CurrentValue = currentFile; TotalValue = totalFiles; Subject = subject; }