Beispiel #1
0
        public ListEntryInfoCollection GetListEntryInfoCollection(string ListName, string Value, string ParentKey) // Get collection of entry lists
        {
            ListEntryInfoCollection objListEntryInfoCollection = new ListEntryInfoCollection();
            ArrayList arrListEntries = CBO.FillCollection(DataProvider.Instance().GetListEntriesByListName(ListName, Value, ParentKey), typeof(ListEntryInfo));

            foreach (ListEntryInfo entry in arrListEntries)
            {
                objListEntryInfoCollection.Add(entry.Key, entry);
            }
            return(objListEntryInfoCollection);
        }
        public ListEntryInfoCollection GetListEntryInfoCollection(string listName, string parentKey, int portalId)
        {
            var items = GetListEntryInfoItems(listName, parentKey, portalId);

            var collection = new ListEntryInfoCollection();

            if (items != null)
            {
                items.ToList().ForEach(x => collection.Add(x.Key, x));
            }
            return(collection);
        }
Beispiel #3
0
        public ListEntryInfoCollection GetListEntryInfoCollection(string listName, string parentKey, int portalId)
        {
            var items = GetListEntryInfoItems(listName, parentKey, portalId);

            var collection = new ListEntryInfoCollection();
            if (items != null)
            {
                items.ToList().ForEach(x => collection.Add(x.Key, x));
            }
            return collection;
        }
 public ListEntryInfoCollection GetListEntryInfoCollection(string ListName, string Value, string ParentKey) // Get collection of entry lists
 {
     ListEntryInfoCollection objListEntryInfoCollection = new ListEntryInfoCollection();
     ArrayList arrListEntries = CBO.FillCollection(DataProvider.Instance().GetListEntriesByListName(ListName, Value, ParentKey), typeof(ListEntryInfo));
     foreach (ListEntryInfo entry in arrListEntries)
     {
         objListEntryInfoCollection.Add(entry.Key, entry);
     }
     return objListEntryInfoCollection;
 }