示例#1
0
        public List <RotationSort> GetRotationSorts()
        {
            List <RotationSort> rotationSortList = new List <RotationSort>();
            Setting             setInfo          = _intergratedProvider.GetSetting(SettingType.Rotation);

            if (setInfo != null && !string.IsNullOrEmpty(setInfo.Val))
            {
                rotationSortList = JsonConvert.DeserializeObject <List <RotationSort> >(setInfo.Val);
            }
            return(rotationSortList);
        }
示例#2
0
 public Setting GetSetting(SettingType setType)
 {
     return(_integratedProvider.GetSetting(setType));
 }