Пример #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;
             }
         }
     }
 }
Пример #2
0
 public int Add(MasterEquipment value)
 {
     return(base.List.Add(value));
 }
Пример #3
0
 public void Remove(MasterEquipment value)
 {
     base.List.Remove(value);
 }
Пример #4
0
 public void Insert(int index, MasterEquipment value)
 {
     base.List.Insert(index, value);
 }
Пример #5
0
 public int IndexOf(MasterEquipment value)
 {
     return(base.List.IndexOf(value));
 }
Пример #6
0
 public bool Contains(MasterEquipment value)
 {
     return(base.List.Contains(value));
 }