コード例 #1
0
 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;
 }
コード例 #2
0
 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();
 }