You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* New feature -> Configuration for Expression Parsing
* Support of Initializing Named Types with new
* Better support of new with anonymous types, so it looks more like when you use a real expression
* reformat code (CreateNewExpression method)
/// <param name="createParameterCtor">if set to <c>true</c> then also create a constructor for all the parameters. Note that this doesn't work for Linq-to-Database entities.</param>
47
+
/// <param name="resultType">Type of the result. If not specified, it will be generated dynamically.</param>
/// Parses an expression into a LambdaExpression. (Also create a constructor for all the parameters. Note that this doesn't work for Linq-to-Database entities.)
78
+
/// </summary>
79
+
/// <param name="itType">The main type from the dynamic class expression.</param>
80
+
/// <param name="resultType">Type of the result. If not specified, it will be generated dynamically.</param>
/// <param name="createParameterCtor">if set to <c>true</c> then also create a constructor for all the parameters. Note that this doesn't work for Linq-to-Database entities.</param>
113
+
/// <param name="itType">The main type from the dynamic class expression.</param>
114
+
/// <param name="resultType">Type of the result. If not specified, it will be generated dynamically.</param>
/// Parses an expression into a LambdaExpression. (Also create a constructor for all the parameters. Note that this doesn't work for Linq-to-Database entities.)
77
130
/// </summary>
@@ -102,9 +155,31 @@ public static LambdaExpression ParseLambda(bool createParameterCtor, [NotNull] P
102
155
Check.Condition(parameters, p =>p.Count(x =>x==null)==0,nameof(parameters));
/// <param name="createParameterCtor">if set to <c>true</c> then also create a constructor for all the parameters. Note that this doesn't work for Linq-to-Database entities.</param>
167
+
/// <param name="parameters">A array from ParameterExpressions.</param>
168
+
/// <param name="resultType">Type of the result. If not specified, it will be generated dynamically.</param>
0 commit comments