コード例 #1
0
        public IEnumerable <IMessage> GetLatestMessagesReceived(int maximumMessages = TweetinviConsts.MESSAGE_GET_COUNT)
        {
            var parameter = new MessagesReceivedParameters
            {
                MaximumNumberOfMessagesToRetrieve = maximumMessages
            };

            var messagesDTO = _messageQueryExecutor.GetLatestMessagesReceived(parameter);

            return(_messageFactory.GenerateMessagesFromMessagesDTO(messagesDTO));
        }
コード例 #2
0
        public IEnumerable <IMessage> GetLatestMessagesReceived(int maximumMessages = TweetinviConsts.MESSAGE_GET_COUNT)
        {
            var messagesDTO = _messageQueryExecutor.GetLatestMessagesReceived(maximumMessages);

            return(_messageFactory.GenerateMessagesFromMessagesDTO(messagesDTO));
        }
コード例 #3
0
        public IEnumerable <IMessage> GetLatestMessagesReceived(int maximumMessages = 40)
        {
            var messagesDTO = _messageQueryExecutor.GetLatestMessagesReceived(maximumMessages);

            return(_messageFactory.GenerateMessagesFromMessagesDTO(messagesDTO));
        }