private void RetrieveRepliesFromCache(TwitterStatus status) { var replies = searchCache.Where(x => x.InReplyToStatusId == status.Id); foreach (var reply in replies) { GetRepliesFor(reply); } if (replies.Any()) { RaiseCallback(replies, okResponse); } }
public void CreateConversation(Node n) { ConversationViewModel search = viewModels.Where(c => c.Conversation.OtherParty == n).FirstOrDefault(); if (null == search) { //New conversation var c = new Conversation(); c.OtherParty = n; conversations.Add(c); } else { //Converstation already open for this person so just switch to it windowController.SwitchToTab(search); } }