public static MixedActivateTestCase.TAItem NewTAITem(int depth) { if (depth == 0) { return(null); } MixedActivateTestCase.TAItem header = new MixedActivateTestCase.TAItem("Item " + depth, depth); header._next = MixedActivateTestCase.Item.NewItem(depth - 1); return(header); }
/// <exception cref="System.Exception"></exception> protected override object CreateItem() { MixedActivateTestCase.TAItem item = MixedActivateTestCase.TAItem.NewTAITem(10); item._isRoot = true; return(item); }
public static MixedActivateTestCase.TAItem NewTAITem(int depth) { if (depth == 0) { return null; } MixedActivateTestCase.TAItem header = new MixedActivateTestCase.TAItem("Item " + depth, depth); header._next = MixedActivateTestCase.Item.NewItem(depth - 1); return header; }