private DummyContentViewModel GetDummyContentViewModel(string name) { var dummy = new DummyContentViewModel(new FakingRules { TreeDepth = 3, ItemCount = new Range(5, 10), ItemCountOnLevel = new Dictionary <int, Range> { { 0, new Range(1, 5) } } }); dummy.Drive = dummy.Drives.First(); Console.WriteLine(name + ":"); dummy.Items.ForEach(i => Console.WriteLine(i.Name)); return(dummy); }
private DummyContentViewModel GetDummyContentViewModel(string name) { var dummy = new DummyContentViewModel(new FakingRules { TreeDepth = 3, ItemCount = new Range(5, 10), ItemCountOnLevel = new Dictionary<int, Range> { {0, new Range(1,5)} } }); dummy.Drive = dummy.Drives.First(); Console.WriteLine(name + ":"); dummy.Items.ForEach(i => Console.WriteLine(i.Name)); return dummy; }