public void BuildReviewData() { GetRootNodeAndChildren(); foreach (var node in RootNodeChildren) { GetUserName(node); GetReviewDate(node); GetReviewRating(node); GetReviewContent(node); GetReviewLink(node); Review = new ReviewData(); //Review has been populated in the above method Reviews.Add(Review); } }
public ReviewBuilder(WebPage SourcePage) { WebPage = SourcePage; Review = new ReviewData(); Reviews = new List <ReviewData>(); }