Skip to content

Instantly share code, notes, and snippets.

@takeshik
Created December 21, 2011 20:44
Show Gist options
  • Save takeshik/1507618 to your computer and use it in GitHub Desktop.
Save takeshik/1507618 to your computer and use it in GitHub Desktop.
// Before:
YacqExpression.Dispatch(
DispatchTypes.Method,
YacqExpression.Dispatch(
DispatchTypes.Method,
YacqExpression.TypeCandidate(typeof(Enumerable)),
"Range",
Expression.Constant(0), Expression.Constant(10)
),
"Reverse"
);
// After:
YacqExpression.TypeCandidate(typeof(Enumerable))
.Method("Range", Expression.Constant(0), Expression.Constant(10))
.Method("Reverse");
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment