상속: IRecommendationEngine
예제 #1
0
 public IEnumerable<BookType> GetSuggestionsForGuest()
 {
     IRecommendationEngine engine = new RecommendationForGuest(ServiceLocator, null);
     engine.OrderInformationsService = this.OrderInformationService;
     engine.BooksInformationService = this.BooksInformationService;
     engine.SuggestionCache = SuggestionCache;
     IEnumerable<long> resultList = engine.GenerateRecommendation();
     return toIEnumerableBookType(resultList);
 }
예제 #2
0
        public IEnumerable <BookType> GetSuggestionsForGuest()
        {
            IRecommendationEngine engine = new RecommendationForGuest(ServiceLocator, null);

            engine.OrderInformationsService = this.OrderInformationService;
            engine.BooksInformationService  = this.BooksInformationService;
            engine.SuggestionCache          = SuggestionCache;
            IEnumerable <long> resultList = engine.GenerateRecommendation();

            return(toIEnumerableBookType(resultList));
        }