private FixtureContainer CreateFixtureContainerFromDictionary(string name, IDictionary dictionary) { var container = new FixtureContainer { Name = name, Fixtures = dictionary.Keys.Cast<string>() .Select(x => CreateFixture(x, dictionary[x])) }; return container; }
private FixtureContainer CreateFixtureContainerFromList(string name, IEnumerable list) { var container = new FixtureContainer { Name = name, Fixtures = list.Cast<object>().Select(x => CreateFixture(null, x)) }; return container; }