Пример #1
0
 public void Validate(IPublishMessageParameters parameters)
 {
     _messagesClientParametersValidator.Validate(parameters);
 }
Пример #2
0
 public Task <ITwitterResult <ICreateMessageDTO> > PublishMessage(IPublishMessageParameters parameters)
 {
     _messagesClientParametersValidator.Validate(parameters);
     return(ExecuteRequest(request => _messageController.PublishMessage(parameters, request)));
 }