示例#1
0
 public virtual void SortByDate()
 {
     for (int i = base.Count - 1; i > 0; i--)
     {
         for (int j = 0; j < i; j++)
         {
             if (this[j].MsgDate.CompareTo(this[j + 1].MsgDate) > 0)
             {
                 MessageObj obj2 = this[j];
                 this[j]     = this[j + 1];
                 this[j + 1] = obj2;
             }
         }
     }
 }
示例#2
0
 public int Add(MessageObj value)
 {
     return(base.List.Add(value));
 }
示例#3
0
 public void Remove(MessageObj value)
 {
     base.List.Remove(value);
 }
示例#4
0
 public void Insert(int index, MessageObj value)
 {
     base.List.Insert(index, value);
 }
示例#5
0
 public int IndexOf(MessageObj value)
 {
     return(base.List.IndexOf(value));
 }
示例#6
0
 public bool Contains(MessageObj value)
 {
     return(base.List.Contains(value));
 }