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

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

            return(constantValidtor.Validate(expr));
        }