Пример #1
0
        public static void SendMessage(AmazonSQSClient _sqs,
                                       string _queueUrl,
                                       TGSerializedObject _tgs)
        {
            SendMessageRequest request = new SendMessageRequest {
                QueueUrl = _queueUrl, MessageBody = _tgs.ToString()
            };

            _sqs.SendMessage(request);
        }
Пример #2
0
        public override string ToString()
        {
            TGSerializedObject obj = GetTGSerializedObject();

            return(obj.ToString());
        }