public PageObjectCommentRepository(PageObjectManagerFactory pageObjectManagerFactory, DynamicDataStoreFactory dynamicDataStoreFactory) { this.pageObjectManagerFactory = pageObjectManagerFactory; this.commentStore = dynamicDataStoreFactory.GetStore(typeof(PageComment)); }
public PageObjectRatingRepository(RatingCalculator ratingCalculator, PageObjectManagerFactory pageObjectManagerFactory, DynamicDataStoreFactory dynamicDataStoreFactory) { this.ratingCalculator = ratingCalculator; this.pageObjectManagerFactory = pageObjectManagerFactory; this.ratingStore = dynamicDataStoreFactory.GetStore(typeof(PageRating)); }