public UpdatePresenter(Action<Exception> exceptionLogger, ApplicationUpdate updateData, IWebProxy proxy, string applicationName, string applicationVersion) { _exceptionLogger = exceptionLogger; _updateData = updateData; _proxy = proxy; _updateView = new UpdateDialog(updateData, applicationName, applicationVersion); _saveFileView = new SaveFileDialogView(); _updateView.AttachPresenter(this); }
public UpdatePresenter(Action <Exception> exceptionLogger, ApplicationUpdate updateData, IWebProxy proxy, string applicationName, string applicationVersion) { _exceptionLogger = exceptionLogger; _updateData = updateData; _proxy = proxy; _updateView = new UpdateDialog(updateData, applicationName, applicationVersion); _saveFileView = new harlam357.Windows.Forms.SaveFileDialogView(); _updateView.AttachPresenter(this); }
public UpdatePresenter(Action<Exception> exceptionLogger, ApplicationUpdate updateData, IWebProxy proxy, IUpdateView updateView, ISaveFileDialogView saveFileView, IWebOperation webOperation) { _exceptionLogger = exceptionLogger; _updateData = updateData; _proxy = proxy; _updateView = updateView; _saveFileView = saveFileView; _webOperation = webOperation; _updateView.AttachPresenter(this); }
public UpdatePresenter(Action <Exception> exceptionLogger, ApplicationUpdate updateData, IWebProxy proxy, IUpdateView updateView, harlam357.Windows.Forms.ISaveFileDialogView saveFileView, IWebOperation webOperation) { _exceptionLogger = exceptionLogger; _updateData = updateData; _proxy = proxy; _updateView = updateView; _saveFileView = saveFileView; _webOperation = webOperation; _updateView.AttachPresenter(this); }