Esempio n. 1
0
        public ITwitterPageIterator <ITwitterResult <ITwitterListCursorQueryResultDTO> > GetUserListMembershipsIterator(IGetUserListMembershipsParameters parameters, ITwitterRequest request)
        {
            return(_pageCursorIteratorFactories.Create(parameters, cursor =>
            {
                var cursoredParameters = new GetUserListMembershipsParameters(parameters)
                {
                    Cursor = cursor
                };

                return _twitterListQueryExecutor.GetUserListMemberships(cursoredParameters, new TwitterRequest(request));
            }));
        }
Esempio n. 2
0
        public IEnumerable <ITwitterList> GetUserListsMemberships(IGetUserListMembershipsQueryParameters parameters)
        {
            var twitterListDtos = _twitterListQueryExecutor.GetUserListMemberships(parameters);

            return(_twitterListsFactory.CreateListsFromDTOs(twitterListDtos));
        }