public List <object> GetItems(string folder, string name) { List <object> retVal = new List <object>(); if (String.IsNullOrEmpty(name)) { retVal = new List <object>(Configuration.GetInstance().Pickers.Cast <object>()); } else { retVal.Add(Picker.GetPicker(name)); } return(retVal); }