File tree Expand file tree Collapse file tree 1 file changed +16
-0
lines changed Expand file tree Collapse file tree 1 file changed +16
-0
lines changed Original file line number Diff line number Diff line change @@ -34,6 +34,22 @@ var context = new EvalContext();
3434context.CacheKey = Guid.NewGuid().ToString();
3535{% endhighlight %}
3636
37+ ## IncludeMemberFromAllParameters
38+ Gets or sets if all members should be included from all parameters.
39+
40+ By default, member are only included when one parameter is specified.
41+
42+ > This configuration can be very useful to disable if you execute multiple expression only once, and you believe they will never be re-used.
43+
44+ ### Example
45+ {% highlight csharp %}
46+ // using Z.Expressions; // Don't forget to include this.
47+ var context = new EvalContext();
48+ context.IncludeMemberFromAllParameters = true;
49+
50+ Eval.Execute<bool >("catPropertyName == dogPropertyName", cat, dog);
51+ {% endhighlight %}
52+
3753## UseCache
3854Gets or sets if compiled delegate shoud be cached in the memory or not.
3955
You can’t perform that action at this time.
0 commit comments