public MessageSet GetMessages(YammerEndPoint endPoint, MessageThreading threading, int?limit, int?olderThan, int?newerThan)
        {
            MessageSet msgs = null;

            YammerRequest yr = this.CreateRequest();

            yr.EndPoint = endPoint;
            yr.BeginInit();

            using (Stream s = yr.GetResponseStream())
            {
                DataContractJsonSerializer serializer = new DataContractJsonSerializer(typeof(MessageSet), this.Settings);

                msgs = serializer.ReadObject(s) as MessageSet;

                if (msgs != null)
                {
                    msgs.YammerContext = this;

                    foreach (Message m in msgs.Messages)
                    {
                        m.YammerContext = this;
                    }
                }
            }

            return(msgs);
        }
        public MessageSet GetMessages(YammerEndPoint endPoint, MessageThreading threading, int? limit, int? olderThan, int? newerThan)
        {
            MessageSet msgs = null;

            YammerRequest yr = this.CreateRequest();

            yr.EndPoint = endPoint;
            yr.BeginInit();

            using (Stream s = yr.GetResponseStream())
            {
                DataContractJsonSerializer serializer = new DataContractJsonSerializer(typeof(MessageSet), this.Settings);

                msgs = serializer.ReadObject(s) as MessageSet;

                if (msgs != null)
                {
                    msgs.YammerContext = this;

                    foreach (Message m in msgs.Messages)
                    {
                        m.YammerContext = this;
                    }
                }
            }

            return msgs;
        }
 public MessageSet GetMessages(YammerEndPoint endPoint)
 {
     return this.GetMessages(endPoint, MessageThreading.ThreadStarterOnly, null, null, null);
 }
 public MessageSet GetMessages(YammerEndPoint endPoint)
 {
     return(this.GetMessages(endPoint, MessageThreading.ThreadStarterOnly, null, null, null));
 }