Ejemplo n.º 1
0
        public FriendItem(int id, string name, MicroblogStatus status)
        {
            statuses = new SortedList<DateTime, MicroblogStatus> ();

            Id = id;
            this.name = name;
            this.status = status.Status;
            this.photo = Path.Combine (MicroblogClient.PhotoDirectory,  "" + id);
            statuses.Add (status.Created, status);
        }
Ejemplo n.º 2
0
 public void AddStatus(MicroblogStatus status)
 {
     if (!statuses.ContainsKey (status.Created))
         statuses.Add (status.Created, status);
 }