Пример #1
0
        public static WhereItemIsSmallerThan <TItem> AreSmallerThan <TItem>(TItem param)
            where TItem : IComparable <TItem>
        {
            if (param == null)
            {
                ThrowHelper.ArgumentIsNull();
            }

            return(new WhereItemIsSmallerThan <TItem>(param));
        }
Пример #2
0
        public static WhereItemIsGreatherOrEqualThan <TItem> AreGreatherOrEqualThan <TItem>(TItem param)
            where TItem : IComparable <TItem>
        {
            if (param == null)
            {
                ThrowHelper.ArgumentIsNull();
            }

            return(new WhereItemIsGreatherOrEqualThan <TItem>(param));
        }