Esempio n. 1
0
        private void OnBasicInfoAndAuthenticationCompleted(IAccountBasicInfoProvider basicInfo, PerformBlogAutoDetection performBlogAutoDetection)
        {
            // copy the settings
            _temporarySettings.HomepageUrl       = basicInfo.HomepageUrl;
            _temporarySettings.ForceManualConfig = basicInfo.ForceManualConfiguration;
            _temporarySettings.Credentials       = basicInfo.Credentials;
            _temporarySettings.SavePassword      = basicInfo.SavePassword;

            // clear the transient credentials so we don't accidentally use cached credentials
            ClearTransientCredentials();

            if (!_temporarySettings.ForceManualConfig)
            {
                // perform auto-detection
                performBlogAutoDetection();
            }
            else
            {
                PerformSelectProviderSubStep();
            }
        }
        private void OnBasicInfoAndAuthenticationCompleted(IAccountBasicInfoProvider basicInfo, PerformBlogAutoDetection performBlogAutoDetection)
        {
            // copy the settings
            _temporarySettings.HomepageUrl = basicInfo.HomepageUrl;
            _temporarySettings.ForceManualConfig = basicInfo.ForceManualConfiguration;
            _temporarySettings.Credentials = basicInfo.Credentials;
            _temporarySettings.SavePassword = basicInfo.SavePassword;

            // clear the transient credentials so we don't accidentally use cached credentials
            ClearTransientCredentials();

            if (!_temporarySettings.ForceManualConfig)
            {
                // perform auto-detection
                performBlogAutoDetection();
            }
            else
            {
                PerformSelectProviderSubStep();
            }
        }