示例#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;
 }