public string GetLatestMessagesReceivedQuery(IMessageGetLatestsReceivedRequestParameters queryParameters) { var query = new StringBuilder(String.Format(Resources.Message_GetMessagesReceived, queryParameters.MaximumNumberOfMessagesToRetrieve)); query.Append(_queryParameterGenerator.GenerateMaxIdParameter(queryParameters.MaxId)); query.Append(_queryParameterGenerator.GenerateSinceIdParameter(queryParameters.SinceId)); query.Append(_queryParameterGenerator.GenerateIncludeEntitiesParameter(queryParameters.IncludeEntities)); query.Append(_queryParameterGenerator.GenerateSkipStatusParameter(queryParameters.SkipStatus)); query.Append(_queryParameterGenerator.GenerateAdditionalRequestParameters(queryParameters.FormattedCustomQueryParameters)); return(query.ToString()); }
public string GetLatestMessagesReceived(IMessageGetLatestsReceivedRequestParameters queryParameters) { string query = _messageQueryGenerator.GetLatestMessagesReceivedQuery(queryParameters); return(_twitterAccessor.ExecuteJsonGETQuery(query)); }
public static string GetLatestMessagesReceived(IMessageGetLatestsReceivedRequestParameters queryParameters) { return MessageJsonController.GetLatestMessagesReceived(queryParameters); }
public static async Task <IEnumerable <IMessage> > GetLatestMessagesReceived(IMessageGetLatestsReceivedRequestParameters messageGetLatestsReceivedRequestParameters) { return(await Sync.ExecuteTaskAsync(() => Message.GetLatestMessagesReceived(messageGetLatestsReceivedRequestParameters))); }
public IEnumerable <IMessageDTO> GetLatestMessagesReceived(IMessageGetLatestsReceivedRequestParameters queryParameters) { string query = _messageQueryGenerator.GetLatestMessagesReceivedQuery(queryParameters); return(_twitterAccessor.ExecuteGETQuery <IEnumerable <IMessageDTO> >(query)); }
public static async Task<IEnumerable<IMessage>> GetLatestMessagesReceived(IMessageGetLatestsReceivedRequestParameters messageGetLatestsReceivedRequestParameters) { return await Sync.ExecuteTaskAsync(() => Message.GetLatestMessagesReceived(messageGetLatestsReceivedRequestParameters)); }
public IEnumerable<IMessage> GetLatestMessagesReceived(IMessageGetLatestsReceivedRequestParameters messageGetLatestsReceivedRequestParameters) { var messagesDTO = _messageQueryExecutor.GetLatestMessagesReceived(messageGetLatestsReceivedRequestParameters); return _messageFactory.GenerateMessagesFromMessagesDTO(messagesDTO); }
public static IEnumerable <IMessage> GetLatestMessagesReceived(IMessageGetLatestsReceivedRequestParameters messageGetLatestsReceivedRequestParameters) { return(MessageController.GetLatestMessagesReceived(messageGetLatestsReceivedRequestParameters)); }
public string GetLatestMessagesReceived(IMessageGetLatestsReceivedRequestParameters queryParameters) { string query = _messageQueryGenerator.GetLatestMessagesReceivedQuery(queryParameters); return _twitterAccessor.ExecuteJsonGETQuery(query); }
public static IEnumerable<IMessage> GetLatestMessagesReceived(IMessageGetLatestsReceivedRequestParameters messageGetLatestsReceivedRequestParameters) { return MessageController.GetLatestMessagesReceived(messageGetLatestsReceivedRequestParameters); }
public static string GetLatestMessagesReceived(IMessageGetLatestsReceivedRequestParameters queryParameters) { return(MessageJsonController.GetLatestMessagesReceived(queryParameters)); }
public IEnumerable <IMessage> GetLatestMessagesReceived(IMessageGetLatestsReceivedRequestParameters messageGetLatestsReceivedRequestParameters) { var messagesDTO = _messageQueryExecutor.GetLatestMessagesReceived(messageGetLatestsReceivedRequestParameters); return(_messageFactory.GenerateMessagesFromMessagesDTO(messagesDTO)); }