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