MetaLinq - LINQ to Expressions
CodePlex Home
Register
|
Sign In
|
CodePlex Home
Home
Releases
Discussions
Issue Tracker
Source Code
Stats
People
License
Close
RSS
All Project Updates
Discussions
Issue Tracker
Releases
Source Code
Wiki
RSS
Comments
|
Print View
|
Page Info
|
Change History (all pages)
Home
Project Description
Class library that allows developers to use LINQ to search through and edit expressions in place, without having to manually recreate the expressions.
Read more about it on my blog (
http://blog.magenic.com/blogs/aarone/archive/2007/05/24/Announcing-MetaLinq-_2D00_-Linq-to-Expressions.aspx
).
Updates:
MetaLinq now supports serializing EditableExpression objects to XML and back, thus allowing serialization of expression trees.
Download
latest version
Last edited
Oct 5 2008 at 6:10 PM
by
idof
, version 4
Comments
Kire
wrote
Dec 22 2008 at 9:17 AM
In the class EditableMethodCallExpression the overridden method ToExpression() has a flaw, other overloads of the method Expression.Call are not taken in consideration. So when it’s called a static method there is no need an expression to be passed as parameter so that parameter is null but the method ToExpression() is throwing an exception. So, this should be resolved as something like:
if(Object == null)
return Expression.Call(Method, Arguments.GetExpressions().ToArray<Expression>());
else
return Expression.Call(Object.ToExpression(), Method, Arguments.GetExpressions().ToArray<Expression>());
instead of:
return Expression.Call(Object.ToExpression(), Method, Arguments.GetExpressions().ToArray<Expression>());
Sign in to add a comment
Downloads
Current release:
XmlSerializer support
Thu Oct 9 2008 at 8:00 AM
, Stable
162 downloads
More info
Activity
7
30
All
days
Page Views
76
Visits
39
Pages Per Visit
1.95
Work Items Closed
0
Discussion Posts
0
Updating...
© 2006-2009 Microsoft
|
About CodePlex
|
Privacy Statement
|
Terms of Use
|
Code of Conduct
|
CodePlex Blog
|
Version 2008.12.9.14291