iron-io/iron_dotnet — pull request #9 by pyeremenko (2014-06-27 04:59:32+00:00)
Title: change signature of Get method

@Stephenitis, I left Next method as it was in docs, but...

> this function pattern looks bananas to me, if there is a reason for Next to call Next I'd love to know.

Next() method was implemented by Jeremy Bell, author of the lib we forked. Such method name is familiar to .Net developers and widely used in various libraries including Framework Class Library for operation of getting of an element from some sequence.

As of now, Next and Get methods are left in v3 only for backward compatibility. And we can get rid of them soon )

> QueueMessage msg = queue.Get(30, 60, 100);

and

> QueueMessage msg = queue.Get(n:30, timeout: 60, wait: 100);

Wait can not be greater than 30 according to http://dev.iron.io/mq/reference/api/#get_messages_from_a_queue