示例#1
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="parameterScope"></param>
 /// <param name="a"></param>
 /// <param name="b"></param>
 /// <returns></returns>
 public static bool AreEqual(ScopedDictionary <ParameterExpression, ParameterExpression> parameterScope, Expression a, Expression b)
 {
     return(new ExpressionComparer(parameterScope).Compare(a, b));
 }
示例#2
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="previous"></param>
 public ScopedDictionary(ScopedDictionary <TKey, TValue> previous)
 {
     this.previous = previous;
     this.map      = new Dictionary <TKey, TValue>();
 }
示例#3
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="parameterScope"></param>
 protected ExpressionComparer(ScopedDictionary <ParameterExpression, ParameterExpression> parameterScope)
 {
     this.parameterScope = parameterScope;
 }