LiftStringExpressionToEmpty() 정적인 개인적인 메소드

Provided expression should have string type
static private LiftStringExpressionToEmpty ( Expression stringExpression ) : Expression
stringExpression System.Linq.Expressions.Expression
리턴 System.Linq.Expressions.Expression
        private static Expression GenerateToLowerCall(Expression stringExpression, bool liftMemberAccess)
        {
            if (liftMemberAccess)
            {
                stringExpression = ExpressionFactory.LiftStringExpressionToEmpty(stringExpression);
            }

            return(Expression.Call(stringExpression, StringToLowerMethodInfo));
        }
예제 #2
0
        private static Expression GenerateToLowerCall(Expression stringExpression)
        {
            var liftedToEmpty = ExpressionFactory.LiftStringExpressionToEmpty(stringExpression);

            return(Expression.Call(liftedToEmpty, StringToLowerMethodInfo));
        }