private void AssertSinglePersistentItem(Db4o.Collections.ISet <Item > set) { var expectedItem = (Item)RetrieveOnlyInstance(typeof( Item)); Assert.IsNotNull(set); Assert.AreEqual(1, set.Count); IEnumerator setIterator = set.GetEnumerator(); Assert.IsNotNull(setIterator); Assert.IsTrue(setIterator.MoveNext()); var actualItem = (Item)setIterator.Current; Assert.AreSame(expectedItem, actualItem); }
public _ICodeBlock_265(Db4o.Collections.ISet <Item> set) { this.set = set; }
public _ICodeBlock_259(BigSetTestCase _enclosing, Db4o.Collections.ISet <Item> set) { this._enclosing = _enclosing; this.set = set; }
/// <exception cref="System.MemberAccessException"></exception> public static BTree BTree(Db4o.Collections.ISet <Item> set ) { return((BTree)Reflection4.GetFieldValue(set, "_bTree")); }