/// <summary>
        /// Hides an Item
        /// </summary>
        /// <param name="firstLevelChild">Gets the root of where this item will be created</param>
        private static void HideItem(Item firstLevelChild)
        {
            #if NET40
            Contract.Requires(firstLevelChild.IsNotNull());
            #else
            Assert.ArgumentNotNull(firstLevelChild, "firstLevelChild");
            #endif

            if (firstLevelChild.Template.IsBucketTemplateCheck() || firstLevelChild.TemplateID == Config.BucketTemplateId)
            {
                firstLevelChild.HideItem();
            }
        }
 /// <summary>
 /// Hides an Item
 /// </summary>
 /// <param name="firstLevelChild">Gets the root of where this item will be created</param>
 private static void HideItem(Item firstLevelChild)
 {
     if (firstLevelChild.Template.IsBucketTemplateCheck() || firstLevelChild.TemplateID == Config.BucketTemplateId)
     {
         firstLevelChild.HideItem();
     }
 }
        /// <summary>
        /// Hides an Item
        /// </summary>
        /// <param name="firstLevelChild">Gets the root of where this item will be created</param>
        private static void HideItem(Item firstLevelChild)
        {
            Contract.Requires(firstLevelChild.IsNotNull());

            if (firstLevelChild.Template.IsBucketTemplateCheck() || firstLevelChild.TemplateID == Config.BucketTemplateId)
            {
                firstLevelChild.HideItem();
            }
        }
 /// <summary>
 /// Hide Item
 /// </summary>
 /// <param name="itemsToShow">
 /// The items to show.
 /// </param>
 private static void HideItem(Item itemsToShow)
 {
     itemsToShow.HideItem();
 }