예제 #1
0
        public bool Equals(PalasoTestItem item)
        {
            if (item == null)
            {
                return(false);
            }

            return((_storedInt == item._storedInt) && (_storedString == item._storedString) &&
                   (_storedDateTime == item._storedDateTime));
        }
예제 #2
0
 public void Setup()
 {
     this._testItem = new PalasoTestItem();
     _repository    = new TestRepository(this._testItem);
     this._token    = new RecordToken <PalasoTestItem>(this._repository, new TestRepositoryId(8));
 }
예제 #3
0
		public bool Equals(PalasoTestItem item)
		{
			if (item == null)
			{
				return false;
			}

			return (_storedInt == item._storedInt) && (_storedString == item._storedString) &&
				   (_storedDateTime == item._storedDateTime);
		}