Esempio n. 1
0
        void UpdateActivePackageSourceSetting()
        {
            RemoveActivePackageSourceSetting();

            KeyValuePair <string, string> activePackageSourceSetting = PackageSourceConverter.ConvertToKeyValuePair(activePackageSource);

            SaveActivePackageSourceSetting(activePackageSourceSetting);
        }
Esempio n. 2
0
        void ReadActivePackageSource()
        {
            IList <SettingValue> packageSources = settings.GetValues(ActivePackageSourceSectionName, false);

            activePackageSource = PackageSourceConverter.ConvertFromFirstSetting(packageSources);
        }