IEnumerator IEnumerable.GetEnumerator() { string url = PostHelper.BuildUrl(_criteria); IEnumerable <Post> posts = PostHelper.PerformWebQuery(url); return(posts.GetEnumerator()); }
public override object Execute(Expression expression) { var url = GetQueryText(expression); var results = PostHelper.PerformWebQuery(url); return(results); }