コード例 #1
0
        /// <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();
        }
コード例 #2
0
        /// <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();
        }
コード例 #3
0
 /// <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();
 }