コード例 #1
0
        public override object Clone()
        {
            SQLiteTerm term = null;

            if (_term != null)
            {
                term = (SQLiteTerm)_term.Clone();
            }

            SQLiteTermExpression res = new SQLiteTermExpression();

            res._term = term;
            return(res);
        }
コード例 #2
0
        public override bool Equals(object obj)
        {
            if (obj == null)
            {
                return(false);
            }

            SQLiteTermExpression dst = obj as SQLiteTermExpression;

            if (dst == null)
            {
                return(false);
            }

            if (!RefCompare.Compare(_term, dst._term))
            {
                return(false);
            }

            return(base.Equals(obj));
        }