public static V2.SettingsValue ToV2(V1.ISettingsDetail detail)
 {
     V2.SettingsValue result = new V2.SettingsValue()
     {
         DetailID = detail.DetailID,
         Value    = detail.Value
     };
     return(result);
 }
        public IEnumerable <V2.SettingsValue> GetSettings()
        {
            Dictionary <string, string> settingsDict = new Dictionary <string, string>();

            _provider.GetProcessingCenterSettingsStorage().ReadSettings(settingsDict);
            List <V2.SettingsValue> result = new List <V2.SettingsValue>();

            foreach (var setting in settingsDict)
            {
                V2.SettingsValue newSetting = new V2.SettingsValue()
                {
                    DetailID = setting.Key, Value = setting.Value
                };
                result.Add(newSetting);
            }
            return(result);
        }