Beispiel #1
0
 public Builder SetStartMessageId(MessageIdData value)
 {
     if (value == null)
     {
         throw new NullReferenceException();
     }
     _subscribe.StartMessageId = value;
     return(this);
 }
            public Builder AddMessageIds(MessageIdData value)
            {
                if (value == null)
                {
                    throw new NullReferenceException();
                }
                _messages.MessageIds.Add(value);

                return(this);
            }
            public Builder SetMessageIds(int index, MessageIdData value)
            {
                if (value == null)
                {
                    throw new NullReferenceException();
                }
                _messages.MessageIds[index] = value;

                return(this);
            }
Beispiel #4
0
            public Builder AddMessageId(int index, MessageIdData value)
            {
                if (value == null)
                {
                    throw new NullReferenceException();
                }
                _ack.MessageIds.Insert(index, value);

                return(this);
            }