Пример #1
0
        public List <object> GetItems(string folder, string name)
        {
            List <object> retVal = new List <object>();

            if (String.IsNullOrEmpty(name))
            {
                retVal = new List <object>(Configuration.GetInstance().SectionTypes.Cast <object>());
            }
            else
            {
                retVal.Add(SectionType.GetByName(name));
            }

            return(retVal);
        }