|
1 | 1 | /****************************************************************************************************** |
2 | 2 | Title : ExpressionEvaluator (https://github.com/codingseb/ExpressionEvaluator) |
3 | | - Version : 1.3.5.0 |
| 3 | + Version : 1.3.5.1 |
4 | 4 | (if last digit (the forth) is not a zero, the version is an intermediate version and can be unstable) |
5 | 5 |
|
6 | 6 | Author : Coding Seb |
@@ -797,15 +797,15 @@ public BindingFlags StaticBindingFlag |
797 | 797 |
|
798 | 798 | #region Custom and on the fly variables and methods |
799 | 799 |
|
800 | | - private Dictionary<string, object> variables = new Dictionary<string, object>(StringComparer.Ordinal); |
| 800 | + private IDictionary<string, object> variables = new Dictionary<string, object>(StringComparer.Ordinal); |
801 | 801 |
|
802 | 802 | /// <summary> |
803 | 803 | /// The Values of the variable use in the expressions |
804 | 804 | /// </summary> |
805 | | - public Dictionary<string, object> Variables |
| 805 | + public IDictionary<string, object> Variables |
806 | 806 | { |
807 | 807 | get { return variables; } |
808 | | - set { variables = value == null ? new Dictionary<string, object>() : new Dictionary<string, object>(value, StringComparerForCasing); } |
| 808 | + set { variables = value == null ? new Dictionary<string, object>(StringComparerForCasing) : new Dictionary<string, object>(value, StringComparerForCasing); } |
809 | 809 | } |
810 | 810 |
|
811 | 811 | /// <summary> |
@@ -840,7 +840,7 @@ public ExpressionEvaluator() |
840 | 840 | /// Constructor with variable initialize |
841 | 841 | /// </summary> |
842 | 842 | /// <param name="variables">The Values of the variable use in the expressions</param> |
843 | | - public ExpressionEvaluator(Dictionary<string, object> variables) : this() |
| 843 | + public ExpressionEvaluator(IDictionary<string, object> variables) : this() |
844 | 844 | { |
845 | 845 | Variables = variables; |
846 | 846 | } |
|
0 commit comments