Example #1
0
        public int GetHashCode(IConditionToCommit <T> obj)
        {
            int hash = 13;

            hash = (hash * 7) + this.Type.GetHashCode();
            hash = (hash * 7) + this.ScalarRightValue.GetHashCode();
            return(hash);
        }
Example #2
0
 public void Remove(IConditionToCommit condition)
 {
     this.Conditions.Remove(condition);
 }
Example #3
0
 public bool Equals(IConditionToCommit <T> x, IConditionToCommit <T> y)
 {
     return(x.Type.Equals(y.Type) && x.ScalarRightValue.Equals(y.ScalarRightValue));
 }
Example #4
0
 public void Add(IConditionToCommit condition)
 {
     this.Conditions.Add(condition);
 }