开发者

How to convert MethodCallExpression to BinaryExpression

I've created a MethodCallExpression that calls a function which returns a bool. My problem is to convert the MethodCallExpression somehow into a BinaryExpression.

Or otherwise stated, how can i c开发者_JS百科onstruct this expression by hand:

Expression<Func<string, bool>> exp = x => x.Contains("test");


Problem solved, see comments

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜