Exemple #1
0
        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);
            }
        }
Exemple #2
0
 public ReviewBuilder(WebPage SourcePage)
 {
     WebPage = SourcePage;
     Review  = new ReviewData();
     Reviews = new List <ReviewData>();
 }