Beispiel #1
0
        // Publish
        public bool Publish()
        {
            var publishedMessage = _messageController.PublishMessage(_messageDTO);

            if (publishedMessage == null)
            {
                return(false);
            }

            _messageDTO = publishedMessage.MessageDTO;
            return(true);
        }
Beispiel #2
0
 public IMessage PublishMessage(IPublishMessageParameters publishMessageParameters)
 {
     return(ExecuteAuthenticatedUserOperation(() => _messageController.PublishMessage(publishMessageParameters)));
 }
Beispiel #3
0
 public Task <ITwitterResult <ICreateMessageDTO> > PublishMessage(IPublishMessageParameters parameters)
 {
     _messagesClientParametersValidator.Validate(parameters);
     return(ExecuteRequest(request => _messageController.PublishMessage(parameters, request)));
 }
Beispiel #4
0
 public IMessage PublishMessage(IMessage message)
 {
     return(StartLoggedUserOperation(() => _messageController.PublishMessage(message.MessageDTO)));
 }