public void testInit() { count = new Count(new EntityCounting()); _news.Add(new News(1, "test,", "#111", 0)); _news.ElementAt(0).Departments.Add(new News(2, "test,", "#111", 1)); _news.ElementAt(0).Departments.Add(new News(3, "test,", "#111", 1)); _news.ElementAt(0).Departments.ElementAt(1).Departments.Add(new News(4, "test,", "#111", 3)); }
public Count(ICounting reader) : base() { this.reader = reader; }
public Group(List <News> news, ICounting count) { _news = news; countingDecorator = count; }