private bool ExpressionConstantIsValid(Expression <Func <T, bool> > expr)
        {
            var constantValidtor = new ExpressionConstantValidator(ConstantValidFunc);

            return(constantValidtor.Validate(expr));
        }
예제 #2
0
        private static bool ExpressionConstantIsValid <T>(Expression <Func <T, bool> > expr)
        {
            var constantValidtor = new ExpressionConstantValidator(ConstantNotNull);

            return(constantValidtor.Validate(expr));
        }