EditableExpression.CreateEditableExpression

Oct 1, 2007 at 1:58 AM
Couldn't you simply have a single method?

public static EditableExpression CreateEditableExpression<T>(Expression<T> ex)
{
LambdaExpression lambEx = Expression.Lambda<T>(ex.Body, ex.Parameters);
return new EditableLambdaExpression(lambEx);
}