コード例 #1
0
 public override bool Equals(object other)
 {
     if (other == this)
     {
         return(true);
     }
     if (other == null || GetType() != other.GetType())
     {
         return(false);
     }
     DescQueryTestCase.Item item = (DescQueryTestCase.Item)other;
     if (_id != item._id)
     {
         return(false);
     }
     return(_child == null ? item._child == null : _child.Equals(item._child));
 }
コード例 #2
0
ファイル: DescQueryTestCase.cs プロジェクト: superyfwy/db4o
			public Item(int id, DescQueryTestCase.Item child)
			{
				// COR-2141
				this._id = id;
				this._child = child;
			}
コード例 #3
0
 public Item(int id, DescQueryTestCase.Item child)
 {
     // COR-2141
     this._id    = id;
     this._child = child;
 }