Example #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].equipment_id.CompareTo(this[j + 1].equipment_id) > 0)
             {
                 MasterEquipment equipment = this[j];
                 this[j]     = this[j + 1];
                 this[j + 1] = equipment;
             }
         }
     }
 }
Example #2
0
 public int Add(MasterEquipment value)
 {
     return(base.List.Add(value));
 }
Example #3
0
 public void Remove(MasterEquipment value)
 {
     base.List.Remove(value);
 }
Example #4
0
 public void Insert(int index, MasterEquipment value)
 {
     base.List.Insert(index, value);
 }
Example #5
0
 public int IndexOf(MasterEquipment value)
 {
     return(base.List.IndexOf(value));
 }
Example #6
0
 public bool Contains(MasterEquipment value)
 {
     return(base.List.Contains(value));
 }