Example #1
0
                public override bool Equals(object o)
                {
                    if (o is BTValuePair)
                    {
                        BTValuePair pair = o as BTValuePair;
                        return((this.val1 == pair.val1 && this.val2 == pair.val2) || (this.val1 == pair.val2 && this.val2 == pair.val1));
                    }

                    return(false);
                }
Example #2
0
            internal bool this [BTValue val1, BTValue val2]
            {
                get
                {
                    BTValuePair pair = new BTValuePair(val1, val2);
                    bool        flag = this.hash.Contains(pair);
                    this.hash[pair] = true;

                    return(flag);
                }
            }
Example #3
0
            internal bool this[BTValue val1, BTValue val2]
            {
                get
                {
                    BTValuePair pair = new BTValuePair(val1, val2);
                    bool flag = this.hash.Contains(pair);
                    this.hash[pair] = true;

                    return flag;
                }
            }