Esempio n. 1
0
        public NewsFeedStorage(IPublicationsApi publicationsApi, ICommentsApi commentsApi, IReactionsApi reactionsApi, ICurrentUserProvider currentUserProvider)
        {
            this.publicationsApi     = publicationsApi;
            this.commentsApi         = commentsApi;
            this.reactionsApi        = reactionsApi;
            this.currentUserProvider = currentUserProvider;

            Reactions = new NewsFeedReactionsStorage(reactionsApi);
            Comments  = new NewsFeedCommentsStorage(commentsApi);
        }
Esempio n. 2
0
 public NewsFeedStorage(IPublicationsApi publicationsApi, ICommentsApi commentsApi, IReactionsApi reactionsApi)
 {
     this.publicationsApi = publicationsApi;
     this.commentsApi     = commentsApi;
     this.reactionsApi    = reactionsApi;
 }