private IEnumerable <PageView> GetAllPageViews()
        {
            var pageViewRepository = new PageViewRepository();

            return(Tracker.Current.Interaction.GetPages().Cast <ICurrentPageContext>().Where(x => !x.IsCancelled).Select(pc => pageViewRepository.Get(pc)).Reverse());
        }
Пример #2
0
 private IEnumerable<PageView> GetAllPageViews()
 {
   var pageViewRepository = new PageViewRepository();
   return Tracker.Current.Interaction.GetPages().Cast<ICurrentPageContext>().Where(x => !x.IsCancelled).Select(pc => pageViewRepository.Get(pc)).Reverse();
 }
Пример #3
0
 public VisitsRepository(IContactFacetsProvider contactFacetsProvider, EngagementPlanStateRepository engagementPlanStateRepository, PageViewRepository pageViewRepository)
 {
     this.contactFacetsProvider         = contactFacetsProvider;
     this.engagementPlanStateRepository = engagementPlanStateRepository;
     this.pageViewRepository            = pageViewRepository;
 }