/// <summary>
        /// Get Sitecore Items by an enumerable of object values
        /// </summary>
        /// <param name="db">Sitecore Database</param>
        /// <param name="values">Values as ID, GUID, Path, or Item</param>
        /// <param name="ignoreNull">Disable to throw exception on null Item</param>
        /// <returns>List of Sitecore Items</returns>
        public static List <Item> GetItems(this SC.Data.Database db, IEnumerable values, bool ignoreNull = true)
        {
            List <Item> items = new List <Item>();

            foreach (object value in values)
            {
                Item item = db.GetItemFromValue(value);
                if (item == null && !ignoreNull)
                {
                    throw new NullReferenceException(string.Format("No item found matching {0}.", value.ToString()));
                }
                if (item != null)
                {
                    items.Add(item);
                }
            }
            return(items);
        }