コード例 #1
0
        public CentralFeedHelper(
            IActivitiesServiceFactory activitiesServiceFactory,
            ICentralFeedService centralFeedService,

            ICentralFeedContentProvider contentProvider,
            IGroupFeedService groupFeedService
            )
        {
            _centralFeedService = centralFeedService;
            activitiesServiceFactory.GetServices <IIntranetActivityService <IIntranetActivity> >();
            _contentProvider  = contentProvider;
            _groupFeedService = groupFeedService;
        }
コード例 #2
0
 public FeedPresentationService(
     IIntranetMemberService <IntranetMember> intranetMemberService,
     IActivityLinkService linkService,
     IIntranetLocalizationService localizationService,
     IFeedActivityHelper feedActivityHelper,
     ICommentsService commentsService,
     ILikesService likesService,
     ILightboxHelper lightboxHelper,
     ILogger logger,
     IActivitiesServiceFactory activitiesServiceFactory)
 {
     _intranetMemberService = intranetMemberService;
     _linkService           = linkService;
     _localizationService   = localizationService;
     _feedActivityHelper    = feedActivityHelper;
     _commentsService       = commentsService;
     _likesService          = likesService;
     _lightboxHelper        = lightboxHelper;
     _logger = logger;
     _intranetActivityServices = activitiesServiceFactory.GetServices <IIntranetActivityService <IIntranetActivity> >();
 }