コード例 #1
0
ファイル: Collections.cs プロジェクト: bdqnghi/j2cstranslator
        //
        // Remove
        //

        /// <summary>
        ///
        /// </summary>
        /// <param name="c"></param>
        /// <param name="e"></param>
        /// <returns></returns>
        public static bool Remove(IExtendedCollection c, object e)
        {
            if (e == null || !c.Contains(e))
            {
                return(false);
            }
            return(c.Remove(e));
        }
コード例 #2
0
ファイル: CollectionUtils.cs プロジェクト: zx8326123/LGame
 public static bool Remove(IExtendedCollection c, object e)
 {
     return(((e != null) && c.Contains(e)) && c.Remove(e));
 }
コード例 #3
0
ファイル: CollectionUtils.cs プロジェクト: DONGChuan/LGame
 public static bool Remove(IExtendedCollection c, object e)
 {
     return (((e != null) && c.Contains(e)) && c.Remove(e));
 }