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