/// <summary> /// Given an Item, this will determine if this Item is a Bucket Container /// </summary> /// <returns>Returns true if this item is a Bucket</returns> /// <param name="item">Item being checked to see if it is a bucket or not</param> public static bool IsBucket(Item item) { Contract.Requires(item.IsNotNull()); return item.IsBucketItemCheck(); }
/// <summary> /// Given an Item, this will determine if this Item is a Bucket Container /// </summary> /// <returns>Returns true if this item is a Bucket</returns> /// <param name="item">Item being checked to see if it is a bucket or not</param> public static bool IsBucket(Item item) { #if NET40 Contract.Requires(item.IsNotNull()); #else Assert.ArgumentNotNull(item, "item"); #endif return item.IsBucketItemCheck(); }
/// <summary> /// Given an Item, this will determine if this Item is a Bucket Container /// </summary> /// <returns>Returns true if this item is a Bucket</returns> /// <param name="item">Item being checked to see if it is a bucket or not</param> public static bool IsBucket(Item item) { return item.IsBucketItemCheck(); }