Beispiel #1
0
        public IEnumerable <Post> AggregatePosts()
        {
            IEnumerable <Post> result = new List <Post>(Posts);

            return(Categories.Aggregate(result, (current, category) => current.Concat(category.AggregatePosts())));
        }