Ejemplo n.º 1
0
 private void ResetState()
 {
     this._installFirmware             = false;
     this._installGames                = false;
     this._updateCollection            = null;
     this._isUpdateAvailable           = false;
     this._isCheckingForUpdates        = false;
     this._updateInProgress            = false;
     this._currentStep                 = null;
     this._lastCheckForUpdatesResult   = HRESULT._S_OK;
     this._lastCheckForDiskSpaceResult = HRESULT._S_OK;
     this._lastCheckForUpdateErrorInfo = null;
     this._lastUpdateResult            = HRESULT._S_OK;
     this._lastFirmwareUpdateErrorInfo = null;
     this._isSoftFailure               = false;
     this._canCancel = true;
     this._needsCollectionRefresh        = true;
     this._launchWizardIfUpdatesFound    = false;
     this._fCancelInProgress             = false;
     this._rollbackStarted               = false;
     this._estimatedUpdateTime           = 0;
     this._estimatedUpdateTimeInProgress = false;
     this._requiresSyncBeforeUpdate      = false;
     this._updateOption  = FirmwareUpdateOption.None;
     this._diskSpaceInfo = null;
     this.FirePropertyChanged("IsUpdateAvailable");
 }
Ejemplo n.º 2
0
 internal UIFirmwareRestorer(FirmwareRestorer restorer, bool inRecoveryMode)
 {
     this._restorer = restorer;
     this._lastFirmwareRestoreErrorInfo = null;
     this._inRecoveryMode = inRecoveryMode;
 }