예제 #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);
        }
예제 #2
0
 public NewsFeedStorage(IPublicationsApi publicationsApi, ICommentsApi commentsApi, IReactionsApi reactionsApi)
 {
     this.publicationsApi = publicationsApi;
     this.commentsApi     = commentsApi;
     this.reactionsApi    = reactionsApi;
 }
예제 #3
0
 public NewsFeedReactionsStorage(IReactionsApi reactionsApi)
 {
     this.reactionsApi = reactionsApi;
 }