internal FrmUpdatePublisher(FrmUpdateFilesWizard filesWizard, FrmUpdateInformationsWizard informationsWizard, FrmUpdateRulesWizard isInstalledRulesWizard, FrmUpdateRulesWizard isInstallableRulesWizard, FrmUpdateApplicabilityMetadata updateApplicabilityMetadata) { Logger.EnteringMethod("FrmUpdatePublisher"); InitializeComponent(); this._wsus = WsusWrapper.GetInstance(); this._filesWizard = filesWizard; this._informationsWizard = informationsWizard; this._isInstalledRulesWizard = isInstalledRulesWizard; this._isInstallableRulesWizard = isInstallableRulesWizard; this._updateApplicabilityMetadata = updateApplicabilityMetadata; }
private void CleanAndClose() { Logger.EnteringMethod(); updateFilesWizard.Dispose(); updateFilesWizard = null; if (updateInformationsWizard != null) { updateInformationsWizard.Dispose(); } updateInformationsWizard = null; updateIsInstalledRulesWizard.Dispose(); updateIsInstalledRulesWizard = null; updateIsInstallableRulesWizard.Dispose(); updateIsInstallableRulesWizard = null; this.Close(); }